@@ -41,78 +41,50 @@ jobs:
41
41
- name : Execute build.sh
42
42
run : ./ci/verify-build.sh
43
43
44
- macos :
45
- name : macOS
46
- runs-on : macos-14
44
+ test_tier1 :
45
+ name : Test tier1 targets
47
46
strategy :
48
- fail-fast : true
49
- matrix :
50
- target :
51
- - aarch64-apple-darwin
52
- env :
53
- TARGET : ${{ matrix.target }}
54
- steps :
55
- - uses : actions/checkout@v4
56
- - name : Setup Rust toolchain
57
- run : ./ci/install-rust.sh
58
- - name : Execute run.sh
59
- run : ./ci/run.sh ${{ matrix.target }}
60
-
61
- windows :
62
- name : Windows
63
- runs-on : windows-2022
64
- strategy :
65
- fail-fast : true
66
47
matrix :
67
48
include :
49
+ - target : i686-unknown-linux-gnu
50
+ docker : true
51
+ os : ubuntu-22.04
52
+ - target : x86_64-unknown-linux-gnu
53
+ docker : true
54
+ os : ubuntu-22.04
55
+ - target : aarch64-apple-darwin
56
+ os : macos-14
68
57
- target : x86_64-pc-windows-gnu
58
+ os : windows-2022
69
59
env :
70
60
ARCH_BITS : 64
71
61
ARCH : x86_64
72
62
- target : x86_64-pc-windows-msvc
63
+ os : windows-2022
73
64
# FIXME: It currently causes segfaults.
74
65
# - target: i686-pc-windows-gnu
75
66
# env:
76
67
# ARCH_BITS: 32
77
68
# ARCH: i686
78
69
- target : i686-pc-windows-msvc
70
+ os : windows-2022
71
+ runs-on : ${{ matrix.os }}
79
72
env :
80
- OS : windows
81
73
TARGET : ${{ matrix.target }}
82
74
steps :
83
75
- uses : actions/checkout@v4
84
- - name : Self-update rustup
85
- run : rustup self update
86
- shell : bash
87
76
- name : Setup Rust toolchain
88
77
run : ./ci/install-rust.sh
89
- shell : bash
90
- - name : Execute run.sh
78
+ - name : Run natively
79
+ if : " !matrix.docker "
91
80
run : ./ci/run.sh ${{ matrix.target }}
92
- shell : bash
93
-
94
-
95
- docker_linux_tier1 :
96
- name : Docker Linux Tier1
97
- runs-on : ubuntu-22.04
98
- strategy :
99
- fail-fast : true
100
- matrix :
101
- target :
102
- - i686-unknown-linux-gnu
103
- - x86_64-unknown-linux-gnu
104
- env :
105
- TARGET : ${{ matrix.target }}
106
- steps :
107
- - uses : actions/checkout@v4
108
- - name : Setup Rust toolchain
109
- run : ./ci/install-rust.sh
110
- - name : Execute run-docker.sh
81
+ - name : Run in Docker
82
+ if : " matrix.docker"
111
83
run : ./ci/run-docker.sh ${{ matrix.target }}
112
84
113
- docker_linux_tier2 :
114
- name : Docker Linux Tier2
115
- needs : [docker_linux_tier1 , style_check]
85
+ test_tier2 :
86
+ name : Test tier2 targets
87
+ needs : [test_tier1 , style_check]
116
88
runs-on : ubuntu-22.04
117
89
strategy :
118
90
fail-fast : true
@@ -199,10 +171,8 @@ jobs:
199
171
name : success
200
172
runs-on : ubuntu-22.04
201
173
needs :
202
- - docker_linux_tier1
203
- - docker_linux_tier2
204
- - macos
205
- - windows
174
+ - test_tier1
175
+ - test_tier2
206
176
- solaris
207
177
- style_check
208
178
- verify_build
0 commit comments