15
15
strategy :
16
16
fail-fast : true
17
17
matrix :
18
- target : [
19
- i686-unknown-linux-gnu,
20
- x86_64-unknown-linux-gnu,
21
- ]
18
+ target :
19
+ - i686-unknown-linux-gnu
20
+ - x86_64-unknown-linux-gnu
22
21
steps :
23
22
- uses : actions/checkout@v4
24
23
- name : Setup Rust toolchain
35
34
strategy :
36
35
fail-fast : true
37
36
matrix :
38
- target : [
39
- aarch64-apple-darwin,
40
- ]
37
+ target :
38
+ - aarch64-apple-darwin
41
39
steps :
42
40
- uses : actions/checkout@v4
43
41
- name : Setup Rust toolchain
@@ -104,32 +102,31 @@ jobs:
104
102
fail-fast : true
105
103
max-parallel : 12
106
104
matrix :
107
- target : [
108
- aarch64-linux-android,
109
- aarch64-unknown-linux-gnu,
110
- aarch64-unknown-linux-musl,
111
- arm-linux-androideabi,
112
- arm-unknown-linux-gnueabihf,
113
- arm-unknown-linux-musleabihf,
114
- i686-linux-android,
115
- i686-unknown-linux-musl,
116
- powerpc-unknown-linux-gnu,
117
- powerpc64-unknown-linux-gnu,
118
- powerpc64le-unknown-linux-gnu,
119
- s390x-unknown-linux-gnu,
120
- riscv64gc-unknown-linux-gnu,
121
- wasm32-wasip1,
122
- wasm32-wasip2,
123
- sparc64-unknown-linux-gnu,
124
- wasm32-unknown-emscripten,
125
- x86_64-linux-android,
105
+ target :
106
+ - aarch64-linux-android
107
+ - aarch64-unknown-linux-gnu
108
+ - aarch64-unknown-linux-musl
109
+ - arm-linux-androideabi
110
+ - arm-unknown-linux-gnueabihf
111
+ - arm-unknown-linux-musleabihf
112
+ - i686-linux-android
113
+ - i686-unknown-linux-musl
114
+ - powerpc-unknown-linux-gnu
115
+ - powerpc64-unknown-linux-gnu
116
+ - powerpc64le-unknown-linux-gnu
117
+ - s390x-unknown-linux-gnu
118
+ - riscv64gc-unknown-linux-gnu
119
+ - wasm32-wasip1
120
+ - wasm32-wasip2
121
+ - sparc64-unknown-linux-gnu
122
+ - wasm32-unknown-emscripten
123
+ - x86_64-linux-android
126
124
# FIXME: Exec format error (os error 8)
127
- # x86_64-unknown-linux-gnux32,
128
- x86_64-unknown-linux-musl,
125
+ # - x86_64-unknown-linux-gnux32
126
+ - x86_64-unknown-linux-musl
129
127
# FIXME: It seems some items in `src/unix/mod.rs`
130
128
# aren't defined on redox actually.
131
- # x86_64-unknown-redox,
132
- ]
129
+ # - x86_64-unknown-redox
133
130
steps :
134
131
- uses : actions/checkout@v4
135
132
- name : Setup Rust toolchain
@@ -150,12 +147,11 @@ jobs:
150
147
fail-fast : true
151
148
max-parallel : 5
152
149
matrix :
153
- toolchain : [
154
- stable,
155
- beta,
156
- nightly,
157
- 1.63.0,
158
- ]
150
+ toolchain :
151
+ - stable
152
+ - beta
153
+ - nightly
154
+ - 1.63.0
159
155
steps :
160
156
- uses : actions/checkout@v4
161
157
- name : Setup Rust toolchain
@@ -199,10 +195,9 @@ jobs:
199
195
strategy :
200
196
fail-fast : true
201
197
matrix :
202
- toolchain : [
203
- 1.63.0,
204
- stable,
205
- ]
198
+ toolchain :
199
+ - 1.63.0
200
+ - stable
206
201
steps :
207
202
- uses : actions/checkout@v4
208
203
- name : Self-update rustup
@@ -215,7 +210,6 @@ jobs:
215
210
check_cfg :
216
211
permissions :
217
212
contents : read # to fetch code (actions/checkout)
218
-
219
213
name : " Check #[cfg]s"
220
214
runs-on : ubuntu-22.04
221
215
steps :
@@ -230,16 +224,15 @@ jobs:
230
224
success :
231
225
name : success
232
226
runs-on : ubuntu-22.04
233
- needs : [
234
- docker_linux_tier1,
235
- docker_linux_tier2,
236
- macos,
237
- windows,
238
- style_check,
239
- build_channels_linux,
240
- build_channels_macos,
241
- build_channels_windows,
242
- ]
227
+ needs :
228
+ - docker_linux_tier1
229
+ - docker_linux_tier2
230
+ - macos
231
+ - windows
232
+ - style_check
233
+ - build_channels_linux
234
+ - build_channels_macos
235
+ - build_channels_windows
243
236
# Github branch protection is exceedingly silly and treats "jobs skipped because a dependency
244
237
# failed" as success. So we have to do some contortions to ensure the job fails if any of its
245
238
# dependencies fails.
0 commit comments