@@ -2,18 +2,17 @@ name: Build
22
33on :
44 push :
5- branches : [ master ]
5+ branches : [master]
66 paths-ignore :
7- - ' readme.md'
7+ - " readme.md"
88
99 pull_request :
10- branches : [ master ]
10+ branches : [master]
1111 paths-ignore :
12- - ' readme.md'
12+ - " readme.md"
1313
1414jobs :
1515 build :
16-
1716 runs-on : ${{ matrix.os }}
1817 strategy :
1918 matrix :
@@ -25,17 +24,23 @@ jobs:
2524 DOTNET_CLI_TELEMETRY_OPTOUT : true
2625
2726 steps :
28- - uses : actions/checkout@v4
29- - uses : actions/setup-dotnet@v4
30- with :
31- global-json-file : global.json
32-
33- - name : Build
34- run : dotnet build -c:Release
35-
36- - name : Tests - Latest TFM
37- run : dotnet run --no-build -c:Release -f:net9.0 --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
38-
39- - if : matrix.os == 'windows-latest'
40- name : Tests - net472
41- run : dotnet run --no-build -c:Release --project test/FastExpressionCompiler.TestsRunner.Net472
27+ - uses : actions/checkout@v4
28+ - uses : actions/setup-dotnet@v4
29+ with :
30+ global-json-file : global.json
31+
32+ - name : Build
33+ run : dotnet build -c:Release
34+
35+ - name : Tests - net9.0 (Latest)
36+ run : dotnet run --no-build -c:Release -f:net9.0 --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
37+
38+ - name : Tests - net8.0 (Latest LTS)
39+ run : dotnet run --no-build -c:Release -f:net8.0 --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
40+
41+ - name : Tests - net6.0 (Previous LTS)
42+ run : dotnet run --no-build -c:Release -f:net6.0 --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
43+
44+ - if : matrix.os == 'windows-latest'
45+ name : Tests - net472 (Windows only)
46+ run : dotnet run --no-build -c:Release --project test/FastExpressionCompiler.TestsRunner.Net472
0 commit comments