-
Notifications
You must be signed in to change notification settings - Fork 259
48 lines (39 loc) · 972 Bytes
/
aot-check.yml
File metadata and controls
48 lines (39 loc) · 972 Bytes
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
name: "AOT Check"
on:
push:
branches: [ "master", "rel/v2" ]
pull_request:
types:
- opened
- synchronize
- reopened
- ready_for_review
branches: [ "master", "rel/v2" ]
env:
TargetNetNext: True
jobs:
analyze:
runs-on: windows-latest
name: AOT check
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Setup .NET 9.0.x
uses: actions/setup-dotnet@v4
with:
dotnet-version: 9.0.x
- name: Setup .NET 10.0.x preview
if: env.TargetNetNext == 'True'
uses: actions/setup-dotnet@v4
with:
dotnet-version: 10.0.x
- name: Runs AOT check with .NET 9.0
id: aot-powershell-net9
run: build\test-aot.ps1 'net9.0'
- name: Runs AOT check with .NET 10.0
id: aot-powershell-net10
if: env.TargetNetNext == 'True'
run: build\test-aot.ps1 'net10.0'
continue-on-error: true