mirror of
https://github.com/UglyToad/PdfPig.git
synced 2025-06-28 02:12:35 +08:00
Create build_and_test_macos.yml
This commit is contained in:
parent
4fbcc112d3
commit
b8bd40e486
28
.github/workflows/build_and_test_macos.yml
vendored
Normal file
28
.github/workflows/build_and_test_macos.yml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user