-
Notifications
You must be signed in to change notification settings - Fork 310
34 lines (26 loc) · 916 Bytes
/
build.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
# This workflow will do a clean build of agl, build and test the solution
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
name: Test Status
jobs:
build:
name: Build
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@master
- name: Add msbuild to PATH
uses: microsoft/[email protected]
- name: Restore NuGet Packages
run: nuget restore GraphLayout/GraphLayout.sln
- name: Build release agl.csproj
run: msbuild GraphLayout\GraphLayout.sln /p:Configuration=Release
- name: Build debug agl.csproj
run: msbuild GraphLayout\GraphLayout.sln /p:Configuration=Debug
- name: Setup VSTest.exe
uses: Malcolmnixon/Setup-VSTest@v4
- name : Test
run: vstest.console GraphLayout\Test\MSAGLTests\bin\Debug\net6.0-windows\Microsoft.Msagl.UnitTests.dll