@@ -40,12 +40,10 @@ task:
40
40
env :
41
41
TARGET : x86_64-unknown-freebsd
42
42
matrix :
43
- - name : FreeBSD 12 amd64 & i686
44
- freebsd_instance :
45
- image : freebsd-12-4-release-amd64
46
43
- name : FreeBSD 14 amd64 & i686
47
44
freebsd_instance :
48
45
image_family : freebsd-14-0-snap
46
+ cpu : 1
49
47
# Enable tests that would fail on FreeBSD 12
50
48
RUSTFLAGS : --cfg fbsd14 -D warnings
51
49
RUSTDOCFLAGS : --cfg fbsd14
85
83
# Use cross for QEMU-based testing
86
84
# cross needs to execute Docker, so we must use Cirrus's Docker Builder task.
87
85
task :
86
+ depends_on :
87
+ - FreeBSD 14 amd64 & i686
88
+ - Linux x86_64
89
+ - macOS aarch64
90
+ - Rust Formatter
91
+ - OpenBSD x86_64
92
+ - Minver
93
+ - Rust Stable
88
94
env :
89
95
RUST_TEST_THREADS : 1 # QEMU works best with 1 thread
90
96
HOME : /tmp/home
@@ -141,16 +147,35 @@ task:
141
147
- name : Linux aarch64
142
148
arm_container :
143
149
image : rust:1.63.0
150
+ cpu : 1
151
+ depends_on :
152
+ - FreeBSD 14 amd64 & i686
153
+ - Linux x86_64
154
+ - macOS aarch64
155
+ - Rust Formatter
156
+ - OpenBSD x86_64
157
+ - Minver
158
+ - Rust Stable
144
159
env :
145
160
TARGET : aarch64-unknown-linux-gnu
146
161
- name : Linux x86_64
147
162
container :
148
163
image : rust:1.63.0
164
+ cpu : 1
149
165
env :
150
166
TARGET : x86_64-unknown-linux-gnu
151
167
- name : Linux x86_64 musl
152
168
container :
153
169
image : rust:1.63.0
170
+ cpu : 1
171
+ depends_on :
172
+ - FreeBSD 14 amd64 & i686
173
+ - Linux x86_64
174
+ - macOS aarch64
175
+ - Rust Formatter
176
+ - OpenBSD x86_64
177
+ - Minver
178
+ - Rust Stable
154
179
env :
155
180
TARGET : x86_64-unknown-linux-musl
156
181
setup_script :
@@ -163,6 +188,7 @@ task:
163
188
name : Rust Stable
164
189
container :
165
190
image : rust:latest
191
+ cpu : 1
166
192
env :
167
193
TARGET : x86_64-unknown-linux-gnu
168
194
setup_script :
@@ -174,6 +200,15 @@ task:
174
200
task :
175
201
container :
176
202
image : rust:1.63.0
203
+ cpu : 1
204
+ depends_on :
205
+ - FreeBSD 14 amd64 & i686
206
+ - Linux x86_64
207
+ - macOS aarch64
208
+ - Rust Formatter
209
+ - OpenBSD x86_64
210
+ - Minver
211
+ - Rust Stable
177
212
env :
178
213
BUILD : check
179
214
HOST : x86_64-unknown-linux-gnu
@@ -211,16 +246,6 @@ task:
211
246
# cargo hack tries to invoke the iphonesimulator SDK for iOS
212
247
NOHACK : 1
213
248
TARGET : aarch64-apple-ios
214
- - name : iOS x86_64
215
- env :
216
- # cargo hack tries to invoke the iphonesimulator SDK for iOS
217
- NOHACK : 1
218
- TARGET : x86_64-apple-ios
219
- # Cross testing on powerpc fails with "undefined reference to renameat2".
220
- # Perhaps cross is using too-old a version?
221
- - name : Linux powerpc
222
- env :
223
- TARGET : powerpc-unknown-linux-gnu
224
249
# Cross claims to support Linux powerpc64, but it really doesn't.
225
250
# https://github.com/rust-embedded/cross/issues/441
226
251
- name : Linux powerpc64
@@ -232,9 +257,6 @@ task:
232
257
- name : Linux x32
233
258
env :
234
259
TARGET : x86_64-unknown-linux-gnux32
235
- - name : macOS x86_64
236
- env :
237
- TARGET : x86_64-apple-darwin
238
260
- name : NetBSD x86_64
239
261
env :
240
262
TARGET : x86_64-unknown-netbsd
@@ -248,6 +270,15 @@ task:
248
270
container :
249
271
# Redox's MSRV policy is unclear. Until they define it, use nightly.
250
272
image : rustlang/rust:nightly
273
+ cpu : 1
274
+ depends_on :
275
+ - FreeBSD 14 amd64 & i686
276
+ - Linux x86_64
277
+ - macOS aarch64
278
+ - Rust Formatter
279
+ - OpenBSD x86_64
280
+ - Minver
281
+ - Rust Stable
251
282
env :
252
283
BUILD : check
253
284
name : Redox x86_64
@@ -265,22 +296,47 @@ task:
265
296
task :
266
297
container :
267
298
image : rustlang/rust:nightly
299
+ cpu : 1
268
300
env :
269
301
BUILD : check
270
302
HOST : x86_64-unknown-linux-gnu
271
303
ZFLAGS : -Zbuild-std
272
304
CLIPPYFLAGS : -D warnings
273
305
matrix :
274
306
- name : DragonFly BSD x86_64
307
+ depends_on :
308
+ - FreeBSD 14 amd64 & i686
309
+ - Linux x86_64
310
+ - macOS aarch64
311
+ - Rust Formatter
312
+ - OpenBSD x86_64
313
+ - Minver
314
+ - Rust Stable
275
315
env :
276
316
TARGET : x86_64-unknown-dragonfly
277
317
- name : OpenBSD x86_64
278
318
env :
279
319
TARGET : x86_64-unknown-openbsd
280
320
- name : Linux armv7 uclibceabihf
321
+ depends_on :
322
+ - FreeBSD 14 amd64 & i686
323
+ - Linux x86_64
324
+ - macOS aarch64
325
+ - Rust Formatter
326
+ - OpenBSD x86_64
327
+ - Minver
328
+ - Rust Stable
281
329
env :
282
330
TARGET : armv7-unknown-linux-uclibceabihf
283
331
- name : Haiku x86_64
332
+ depends_on :
333
+ - FreeBSD 14 amd64 & i686
334
+ - Linux x86_64
335
+ - macOS aarch64
336
+ - Rust Formatter
337
+ - OpenBSD x86_64
338
+ - Minver
339
+ - Rust Stable
284
340
env :
285
341
TARGET : x86_64-unknown-haiku
286
342
setup_script :
@@ -297,6 +353,7 @@ task:
297
353
HOST : x86_64-unknown-linux-gnu
298
354
container :
299
355
image : rustlang/rust:nightly
356
+ cpu : 1
300
357
setup_script :
301
358
- cargo update -Zminimal-versions
302
359
check_script :
@@ -308,5 +365,6 @@ task:
308
365
name : Rust Formatter
309
366
container :
310
367
image : rust:latest
368
+ cpu : 1
311
369
setup_script : rustup component add rustfmt
312
370
test_script : cargo fmt --all -- --check **/*.rs
0 commit comments