Create build_and_test_macos.yml

This commit is contained in:
BobLd 2025-04-06 09:39:09 +01:00 committed by GitHub
parent 4fbcc112d3
commit 92a42d13b0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,28 @@
name: Build and test [MacOS]
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@master
- name: Set up dotnet core
uses: actions/setup-dotnet@v4
with:
dotnet-version: |
2.1.x
6.0.x
8.0.x
# Build the release build
- name: Build the solution
run: dotnet build -c Release src/UglyToad.PdfPig.sln
- name: Run the tests
run: dotnet test -c Release src/UglyToad.PdfPig.sln