Skip to content

Commit b8bd40e

Browse files
committed
Create build_and_test_macos.yml
1 parent 4fbcc11 commit b8bd40e

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: Build and test [MacOS]
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
jobs:
10+
build:
11+
runs-on: macos-latest
12+
steps:
13+
- uses: actions/checkout@master
14+
15+
- name: Set up dotnet core
16+
uses: actions/setup-dotnet@v4
17+
with:
18+
dotnet-version: |
19+
2.1.x
20+
6.0.x
21+
8.0.x
22+
23+
# Build the release build
24+
- name: Build the solution
25+
run: dotnet build -c Release src/UglyToad.PdfPig.sln
26+
27+
- name: Run the tests
28+
run: dotnet test -c Release src/UglyToad.PdfPig.sln

0 commit comments

Comments
 (0)