Skip to content

Commit 031470f

Browse files
committed
GHA: add a Windows build
1 parent 7cc00fb commit 031470f

1 file changed

Lines changed: 17 additions & 1 deletion

File tree

.github/workflows/main.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,26 @@ on:
99
workflow_dispatch:
1010

1111
jobs:
12-
build:
1312

13+
linuxBuild:
1414
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v2
17+
- name: Setup .NET Core
18+
uses: actions/setup-dotnet@v4
19+
with:
20+
dotnet-version: |
21+
3.1.x
22+
5.0.x
23+
- name: Install dependencies
24+
run: dotnet restore src/GeoJSON.Net.sln
25+
- name: Build
26+
run: dotnet build src/GeoJSON.Net.sln --configuration Release --no-restore
27+
- name: Test
28+
run: dotnet test src/GeoJSON.Net.sln --no-restore --verbosity normal
1529

30+
winBuild:
31+
runs-on: windows-latest
1632
steps:
1733
- uses: actions/checkout@v2
1834
- name: Setup .NET Core

0 commit comments

Comments
 (0)