-
-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (31 loc) · 999 Bytes
/
dotnet.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
name: .NET
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
jobs:
Build:
runs-on: windows-latest
strategy:
matrix:
configuration: [
Release
]
solution: [
src,
demo/Taiizor.Starterkit.Demo
]
steps:
- uses: actions/checkout@v3
- name: Setup .NET
uses: actions/setup-dotnet@v3
with:
dotnet-version: 8.0.x
dotnet-quality: preview
- name: Restore the Taiizor.Starterkit
run: dotnet restore ${{ matrix.solution }} -p:Configuration=${{ matrix.configuration }}
- name: Build the Taiizor.Starterkit
run: dotnet build ${{ matrix.solution }} -c ${{ matrix.configuration }} --no-restore /nowarn:CS0067,CS0108,CS0109,CS0114,CS0169,CS0414,CS0649,CA1416,NU5104,NETSDK1138,SYSLIB0003
- name: Test the Taiizor.Starterkit
run: dotnet test ${{ matrix.solution }} -c ${{ matrix.configuration }} --no-build --verbosity normal