1
- name : " Build & Test"
1
+ name : " PR Test"
2
2
3
3
on :
4
4
pull_request :
@@ -13,87 +13,21 @@ concurrency:
13
13
cancel-in-progress : true
14
14
15
15
jobs :
16
- # Per-system job chains to avoid cross-system waiting
17
- build-aarch64-linux :
18
- uses : ./.github/workflows/build.yml
19
- secrets : inherit
20
- with :
21
- system : " aarch64-linux"
22
-
23
- test-aarch64-linux :
24
- needs : build-aarch64-linux
25
- uses : ./.github/workflows/test.yml
26
- secrets : inherit
27
- with :
28
- system : " aarch64-linux"
29
-
30
- examples-aarch64-linux :
31
- needs : test-aarch64-linux
32
- if : needs.test-aarch64-linux.result != 'skipped'
33
- uses : ./.github/workflows/examples.yml
34
- secrets : inherit
35
- with :
36
- system : " aarch64-linux"
37
-
38
- build-x86_64-linux :
39
- uses : ./.github/workflows/build.yml
40
- secrets : inherit
41
- with :
42
- system : " x86_64-linux"
43
-
44
- test-x86_64-linux :
45
- needs : build-x86_64-linux
46
- uses : ./.github/workflows/test.yml
47
- secrets : inherit
48
- with :
49
- system : " x86_64-linux"
50
-
51
- examples-x86_64-linux :
52
- needs : test-x86_64-linux
53
- if : needs.test-x86_64-linux.result != 'skipped'
54
- uses : ./.github/workflows/examples.yml
55
- secrets : inherit
56
- with :
57
- system : " x86_64-linux"
58
-
59
- build-aarch64-darwin :
60
- uses : ./.github/workflows/build.yml
61
- secrets : inherit
62
- with :
63
- system : " aarch64-darwin"
64
-
65
- test-aarch64-darwin :
66
- needs : build-aarch64-darwin
67
- uses : ./.github/workflows/test.yml
68
- secrets : inherit
69
- with :
70
- system : " aarch64-darwin"
71
-
72
- examples-aarch64-darwin :
73
- needs : test-aarch64-darwin
74
- if : needs.test-aarch64-darwin.result != 'skipped'
75
- uses : ./.github/workflows/examples.yml
76
- secrets : inherit
77
- with :
78
- system : " aarch64-darwin"
79
-
80
- build-x86_64-darwin :
81
- uses : ./.github/workflows/build.yml
82
- secrets : inherit
83
- with :
84
- system : " x86_64-darwin"
85
-
86
- test-x86_64-darwin :
87
- needs : build-x86_64-darwin
88
- uses : ./.github/workflows/test.yml
89
- secrets : inherit
90
- with :
91
- system : " x86_64-darwin"
92
-
93
- examples-x86_64-darwin :
94
- needs : test-x86_64-darwin
95
- if : needs.test-x86_64-darwin.result != 'skipped'
96
- uses : ./.github/workflows/examples.yml
97
- secrets : inherit
98
- with :
99
- system : " x86_64-darwin"
16
+ pipeline :
17
+ strategy :
18
+ fail-fast : false
19
+ matrix :
20
+ include :
21
+ - system : aarch64-linux
22
+ runs-on : ' ["self-hosted", "linux", "ARM64"]'
23
+ - system : x86_64-linux
24
+ runs-on : ' ["self-hosted", "linux", "X64"]'
25
+ - system : aarch64-darwin
26
+ runs-on : ' ["self-hosted", "macOS", "ARM64"]'
27
+ - system : x86_64-darwin
28
+ runs-on : ' ["macos-13"]'
29
+ uses : ./.github/workflows/per-system-pipeline.yml
30
+ secrets : inherit
31
+ with :
32
+ system : ${{ matrix.system }}
33
+ runs-on : ${{ matrix.runs-on }}
0 commit comments