Skip to content

Commit 774cc85

Browse files
authored
Merge pull request #183 from janusw/gha_mac
2 parents 24d4947 + 58e29f1 commit 774cc85

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/main.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,25 @@ jobs:
2727
- name: Test
2828
run: dotnet test src/GeoJSON.Net.sln --no-restore --verbosity normal
2929

30+
macBuild:
31+
runs-on: macos-latest
32+
steps:
33+
- uses: actions/checkout@v4
34+
with:
35+
fetch-depth: 0
36+
- name: Setup .NET Core
37+
uses: actions/setup-dotnet@v4
38+
with:
39+
dotnet-version: |
40+
6.0.x
41+
8.0.x
42+
- name: Install dependencies
43+
run: dotnet restore src/GeoJSON.Net.sln
44+
- name: Build
45+
run: dotnet build src/GeoJSON.Net.sln -c Release --no-restore -p:Version=$(git describe --tags)
46+
- name: Test
47+
run: dotnet test src/GeoJSON.Net.sln --no-restore --verbosity normal
48+
3049
winBuild:
3150
runs-on: windows-latest
3251
steps:

0 commit comments

Comments
 (0)