-
-
Notifications
You must be signed in to change notification settings - Fork 94
50 lines (39 loc) · 1.56 KB
/
build.yml
File metadata and controls
50 lines (39 loc) · 1.56 KB
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
47
48
49
50
name: Build
on:
push:
branches: [master]
paths-ignore:
- "readme.md"
pull_request:
branches: [master]
paths-ignore:
- "readme.md"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
env:
DOTNET_NOLOGO: true
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: true
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- uses: actions/checkout@v4
- uses: actions/setup-dotnet@v4
with:
global-json-file: global.json
- name: Build
run: dotnet build -c:Release
- name: Tests - net10.0 (Latest)
run: dotnet run --no-build -c:Release -f:net10.0 --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
- name: Tests - net9.0 (Latest)
run: dotnet run --no-build -c:Release -f:net9.0 --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
- name: Tests - net8.0 (Latest LTS)
run: dotnet run --no-build -c:Release -f:net8.0 --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
# - if: matrix.os == 'windows-latest'
# name: Tests - net6.0 (Previous LTS)
# run: dotnet run --no-build -c:Release -f:net6.0 --project test/FastExpressionCompiler.TestsRunner/FastExpressionCompiler.TestsRunner.csproj
- if: matrix.os == 'windows-latest'
name: Tests - net472 (Windows only)
run: dotnet run --no-build -c:Release --project test/FastExpressionCompiler.TestsRunner.Net472