Skip to content

Commit fe355ef

Browse files
committed
GHA: add a Mac build
1 parent 24d4947 commit fe355ef

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

.github/workflows/main.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,23 @@ 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: '8.0.x'
40+
- name: Install dependencies
41+
run: dotnet restore src/GeoJSON.Net.sln
42+
- name: Build
43+
run: dotnet build src/GeoJSON.Net.sln -c Release --no-restore -p:Version=$(git describe --tags)
44+
- name: Test
45+
run: dotnet test src/GeoJSON.Net.sln --no-restore --verbosity normal
46+
3047
winBuild:
3148
runs-on: windows-latest
3249
steps:

0 commit comments

Comments
 (0)