@@ -40,12 +40,11 @@ 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
47
+ memory : 2G
49
48
# Enable tests that would fail on FreeBSD 12
50
49
RUSTFLAGS : --cfg fbsd14 -D warnings
51
50
RUSTDOCFLAGS : --cfg fbsd14
74
73
TARGET : aarch64-apple-darwin
75
74
macos_instance :
76
75
image : ghcr.io/cirruslabs/macos-ventura-base:latest
76
+ cpu : 1
77
+ memory : 4G
77
78
setup_script :
78
79
- curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs
79
80
- sh rustup.sh -y --profile=minimal --default-toolchain $MSRV
85
86
# Use cross for QEMU-based testing
86
87
# cross needs to execute Docker, so we must use Cirrus's Docker Builder task.
87
88
task :
89
+ depends_on :
90
+ - FreeBSD 14 amd64 & i686
91
+ - Linux x86_64
92
+ - macOS aarch64
93
+ - Rust Formatter
94
+ - OpenBSD x86_64
95
+ - Minver
96
+ - Rust Stable
88
97
env :
89
98
RUST_TEST_THREADS : 1 # QEMU works best with 1 thread
90
99
HOME : /tmp/home
@@ -141,16 +150,38 @@ task:
141
150
- name : Linux aarch64
142
151
arm_container :
143
152
image : rust:1.63.0
153
+ cpu : 1
154
+ memory : 2G
155
+ depends_on :
156
+ - FreeBSD 14 amd64 & i686
157
+ - Linux x86_64
158
+ - macOS aarch64
159
+ - Rust Formatter
160
+ - OpenBSD x86_64
161
+ - Minver
162
+ - Rust Stable
144
163
env :
145
164
TARGET : aarch64-unknown-linux-gnu
146
165
- name : Linux x86_64
147
166
container :
148
167
image : rust:1.63.0
168
+ cpu : 1
169
+ memory : 2G
149
170
env :
150
171
TARGET : x86_64-unknown-linux-gnu
151
172
- name : Linux x86_64 musl
152
173
container :
153
174
image : rust:1.63.0
175
+ cpu : 1
176
+ memory : 2G
177
+ depends_on :
178
+ - FreeBSD 14 amd64 & i686
179
+ - Linux x86_64
180
+ - macOS aarch64
181
+ - Rust Formatter
182
+ - OpenBSD x86_64
183
+ - Minver
184
+ - Rust Stable
154
185
env :
155
186
TARGET : x86_64-unknown-linux-musl
156
187
setup_script :
@@ -163,6 +194,8 @@ task:
163
194
name : Rust Stable
164
195
container :
165
196
image : rust:latest
197
+ cpu : 1
198
+ memory : 2G
166
199
env :
167
200
TARGET : x86_64-unknown-linux-gnu
168
201
setup_script :
@@ -174,6 +207,16 @@ task:
174
207
task :
175
208
container :
176
209
image : rust:1.63.0
210
+ cpu : 1
211
+ memory : 2G
212
+ depends_on :
213
+ - FreeBSD 14 amd64 & i686
214
+ - Linux x86_64
215
+ - macOS aarch64
216
+ - Rust Formatter
217
+ - OpenBSD x86_64
218
+ - Minver
219
+ - Rust Stable
177
220
env :
178
221
BUILD : check
179
222
HOST : x86_64-unknown-linux-gnu
@@ -211,16 +254,6 @@ task:
211
254
# cargo hack tries to invoke the iphonesimulator SDK for iOS
212
255
NOHACK : 1
213
256
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
257
# Cross claims to support Linux powerpc64, but it really doesn't.
225
258
# https://github.com/rust-embedded/cross/issues/441
226
259
- name : Linux powerpc64
@@ -232,9 +265,6 @@ task:
232
265
- name : Linux x32
233
266
env :
234
267
TARGET : x86_64-unknown-linux-gnux32
235
- - name : macOS x86_64
236
- env :
237
- TARGET : x86_64-apple-darwin
238
268
- name : NetBSD x86_64
239
269
env :
240
270
TARGET : x86_64-unknown-netbsd
@@ -248,6 +278,16 @@ task:
248
278
container :
249
279
# Redox's MSRV policy is unclear. Until they define it, use nightly.
250
280
image : rustlang/rust:nightly
281
+ cpu : 1
282
+ memory : 2G
283
+ depends_on :
284
+ - FreeBSD 14 amd64 & i686
285
+ - Linux x86_64
286
+ - macOS aarch64
287
+ - Rust Formatter
288
+ - OpenBSD x86_64
289
+ - Minver
290
+ - Rust Stable
251
291
env :
252
292
BUILD : check
253
293
name : Redox x86_64
@@ -265,22 +305,49 @@ task:
265
305
task :
266
306
container :
267
307
image : rustlang/rust:nightly
308
+ cpu : 1
309
+ memory : 2G
268
310
env :
269
311
BUILD : check
270
312
HOST : x86_64-unknown-linux-gnu
271
313
ZFLAGS : -Zbuild-std
272
314
CLIPPYFLAGS : -D warnings
273
315
matrix :
274
316
- name : DragonFly BSD x86_64
317
+ depends_on :
318
+ - FreeBSD 14 amd64 & i686
319
+ - Linux x86_64
320
+ - macOS aarch64
321
+ - Rust Formatter
322
+ - OpenBSD x86_64
323
+ - Minver
324
+ - Rust Stable
275
325
env :
276
326
TARGET : x86_64-unknown-dragonfly
277
327
- name : OpenBSD x86_64
278
328
env :
279
329
TARGET : x86_64-unknown-openbsd
280
330
- name : Linux armv7 uclibceabihf
281
- env :
331
+
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
340
+
282
341
TARGET : armv7-unknown-linux-uclibceabihf
283
342
- name : Haiku x86_64
343
+ depends_on :
344
+ - FreeBSD 14 amd64 & i686
345
+ - Linux x86_64
346
+ - macOS aarch64
347
+ - Rust Formatter
348
+ - OpenBSD x86_64
349
+ - Minver
350
+ - Rust Stable
284
351
env :
285
352
TARGET : x86_64-unknown-haiku
286
353
setup_script :
@@ -297,6 +364,8 @@ task:
297
364
HOST : x86_64-unknown-linux-gnu
298
365
container :
299
366
image : rustlang/rust:nightly
367
+ cpu : 1
368
+ memory : 2G
300
369
setup_script :
301
370
- cargo update -Zminimal-versions
302
371
check_script :
@@ -308,5 +377,7 @@ task:
308
377
name : Rust Formatter
309
378
container :
310
379
image : rust:latest
380
+ cpu : 1
381
+ memory : 2G
311
382
setup_script : rustup component add rustfmt
312
383
test_script : cargo fmt --all -- --check **/*.rs
0 commit comments