-
-
Notifications
You must be signed in to change notification settings - Fork 18
40 lines (32 loc) · 793 Bytes
/
Copy pathcibuild.yml
File metadata and controls
40 lines (32 loc) · 793 Bytes
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
name: CI
on:
push:
branches:
- main
- release/*
paths-ignore:
- 'docs/**'
pull_request:
branches:
- main
paths-ignore:
- 'docs/**'
jobs:
build:
runs-on: windows-latest
steps:
- name: Clone NmeaParser
uses: actions/checkout@v1
- name: Setup Visual Studio Command Prompt
uses: microsoft/setup-msbuild@v1.0.2
- name: Build
run: |
msbuild /restore /t:Build src/UniversalWPF.sln /p:Configuration=Release
- name: Tests
run: |
dotnet test src/UnitTests/bin/Release/net6.0-windows10.0.19041.0/UnitTests.dll -v normal
- name: Upload artifacts
uses: actions/upload-artifact@v1
with:
name: NuGet Packages
path: artifacts/NuGet/Release