-
Notifications
You must be signed in to change notification settings - Fork 3
46 lines (39 loc) · 1.47 KB
/
netfx.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
name: .NET Framework
on:
push:
branches:
- master
pull_request:
jobs:
NetFX-Debug:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- uses: nuget/setup-nuget@v2
- name: Restore NuGet packages
run: nuget restore CilTools.sln -PackagesDirectory packages
- name: Build with MSBuild
run: |
$Env:Path += ";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"; .\scripts\netfx\build.ps1
- name: Run
run: |
& CilToolsDemo\bin\Debug\CilToolsDemo.exe
- name: Test with VSTest console
run: |
$Env:Path += ";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\"; .\scripts\netfx\test.ps1
NetFX-Release:
runs-on: windows-2019
steps:
- uses: actions/checkout@v1
- uses: nuget/setup-nuget@v2
- name: Restore NuGet packages
run: nuget restore CilTools.sln -PackagesDirectory packages
- name: Build with MSBuild
run: |
$Env:Path += ";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\MSBuild\Current\Bin\"; .\scripts\netfx\build.ps1 -config Release
- name: Run
run: |
& CilToolsDemo\bin\Release\CilToolsDemo.exe
- name: Test with VSTest console
run: |
$Env:Path += ";${Env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Enterprise\Common7\IDE\Extensions\TestPlatform\"; .\scripts\netfx\test.ps1 -config Release