-
Notifications
You must be signed in to change notification settings - Fork 656
41 lines (37 loc) · 2 KB
/
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: Build Test
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .NET
uses: actions/setup-dotnet@v1
with:
dotnet-version: |
5.0.x
2.0.x
- name: Build Test Cases
run: dotnet build TestCases/
- name: Build Test Cases(Release)
run: dotnet build -c Release TestCases/
- name: Test (I:Debug T:Debug R:false)
run: dotnet run --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Debug/netstandard2.0/TestCases.dll false
- name: Test (I:Debug T:Debug R:true)
run: dotnet run --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Debug/netstandard2.0/TestCases.dll true
- name: Test (I:Debug T:Release R:false)
run: dotnet run --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Release/netstandard2.0/TestCases.dll false
- name: Test (I:Debug T:Release R:true)
run: dotnet run --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Release/netstandard2.0/TestCases.dll true
- name: Test (I:Release T:Debug R:false)
run: dotnet run -c Release --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Debug/netstandard2.0/TestCases.dll false
- name: Test (I:Release T:Debug R:true)
run: dotnet run -c Release --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Debug/netstandard2.0/TestCases.dll true
- name: Test (I:Release T:Release R:false)
run: dotnet run -c Release --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Release/netstandard2.0/TestCases.dll false
- name: Test (I:Release T:Release R:true)
run: dotnet run -c Release --verbosity normal --project ILRuntimeTestCLI/ILRuntimeTestCLI.csproj TestCases/bin/Release/netstandard2.0/TestCases.dll true