-
Notifications
You must be signed in to change notification settings - Fork 13
49 lines (39 loc) · 1.1 KB
/
dotnetcore.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
name: .NET Core
on:
push:
branches:
- develop
pull_request:
branches:
- develop
jobs:
build:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, windows-latest, macOS-latest ]
steps:
- name: Get source
uses: actions/checkout@v4
- name: Setup .NET Core 6.
uses: actions/setup-dotnet@v4
with:
dotnet-version: 6.0.x
- name: Restore packages.
run: dotnet restore
- name: Build all projects
run: dotnet build -c Release -v minimal -p:WarningLevel=3 --no-restore
- name: Test
run: dotnet test -c Release --no-build
working-directory: ./test/NetTopologySuite.IO.VectorTiles.Tests/
- name: Functional tests.
run: dotnet run -c release
working-directory: ./test/NetTopologySuite.IO.VectorTiles.Tests.Functional/
- name: Pack
run: dotnet pack -c Release --no-build -o artifacts -p:NoWarn=NU5105
- name: Upload
uses: actions/upload-artifact@v1
with:
name: NuGet Package Files (${{ matrix.os }})
path: artifacts