@@ -40,12 +40,11 @@ task:
4040 env :
4141 TARGET : x86_64-unknown-freebsd
4242 matrix :
43- - name : FreeBSD 12 amd64 & i686
44- freebsd_instance :
45- image : freebsd-12-4-release-amd64
4643 - name : FreeBSD 14 amd64 & i686
4744 freebsd_instance :
4845 image_family : freebsd-14-0-snap
46+ cpu : 1
47+ memory : 2G
4948 # Enable tests that would fail on FreeBSD 12
5049 RUSTFLAGS : --cfg fbsd14 -D warnings
5150 RUSTDOCFLAGS : --cfg fbsd14
7473 TARGET : aarch64-apple-darwin
7574 macos_instance :
7675 image : ghcr.io/cirruslabs/macos-ventura-base:latest
76+ cpu : 1
77+ memory : 4G
7778 setup_script :
7879 - curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs
7980 - sh rustup.sh -y --profile=minimal --default-toolchain $MSRV
8586# Use cross for QEMU-based testing
8687# cross needs to execute Docker, so we must use Cirrus's Docker Builder task.
8788task :
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
8897 env :
8998 RUST_TEST_THREADS : 1 # QEMU works best with 1 thread
9099 HOME : /tmp/home
@@ -141,16 +150,38 @@ task:
141150 - name : Linux aarch64
142151 arm_container :
143152 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
144163 env :
145164 TARGET : aarch64-unknown-linux-gnu
146165 - name : Linux x86_64
147166 container :
148167 image : rust:1.63.0
168+ cpu : 1
169+ memory : 2G
149170 env :
150171 TARGET : x86_64-unknown-linux-gnu
151172 - name : Linux x86_64 musl
152173 container :
153174 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
154185 env :
155186 TARGET : x86_64-unknown-linux-musl
156187 setup_script :
@@ -163,6 +194,8 @@ task:
163194 name : Rust Stable
164195 container :
165196 image : rust:latest
197+ cpu : 1
198+ memory : 2G
166199 env :
167200 TARGET : x86_64-unknown-linux-gnu
168201 setup_script :
@@ -174,6 +207,16 @@ task:
174207task :
175208 container :
176209 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
177220 env :
178221 BUILD : check
179222 HOST : x86_64-unknown-linux-gnu
@@ -211,16 +254,6 @@ task:
211254 # cargo hack tries to invoke the iphonesimulator SDK for iOS
212255 NOHACK : 1
213256 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
224257 # Cross claims to support Linux powerpc64, but it really doesn't.
225258 # https://github.com/rust-embedded/cross/issues/441
226259 - name : Linux powerpc64
@@ -232,9 +265,6 @@ task:
232265 - name : Linux x32
233266 env :
234267 TARGET : x86_64-unknown-linux-gnux32
235- - name : macOS x86_64
236- env :
237- TARGET : x86_64-apple-darwin
238268 - name : NetBSD x86_64
239269 env :
240270 TARGET : x86_64-unknown-netbsd
@@ -248,6 +278,16 @@ task:
248278 container :
249279 # Redox's MSRV policy is unclear. Until they define it, use nightly.
250280 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
251291 env :
252292 BUILD : check
253293 name : Redox x86_64
@@ -265,22 +305,48 @@ task:
265305task :
266306 container :
267307 image : rustlang/rust:nightly
308+ cpu : 1
309+ memory : 2G
268310 env :
269311 BUILD : check
270312 HOST : x86_64-unknown-linux-gnu
271313 ZFLAGS : -Zbuild-std
272314 CLIPPYFLAGS : -D warnings
273315 matrix :
274316 - 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
275325 env :
276326 TARGET : x86_64-unknown-dragonfly
277327 - name : OpenBSD x86_64
278328 env :
279329 TARGET : x86_64-unknown-openbsd
280330 - name : Linux armv7 uclibceabihf
331+ depends_on :
332+ - FreeBSD 14 amd64 & i686
333+ - Linux x86_64
334+ - macOS aarch64
335+ - Rust Formatter
336+ - OpenBSD x86_64
337+ - Minver
338+ - Rust Stable
281339 env :
282340 TARGET : armv7-unknown-linux-uclibceabihf
283341 - name : Haiku x86_64
342+ depends_on :
343+ - FreeBSD 14 amd64 & i686
344+ - Linux x86_64
345+ - macOS aarch64
346+ - Rust Formatter
347+ - OpenBSD x86_64
348+ - Minver
349+ - Rust Stable
284350 env :
285351 TARGET : x86_64-unknown-haiku
286352 setup_script :
@@ -297,6 +363,8 @@ task:
297363 HOST : x86_64-unknown-linux-gnu
298364 container :
299365 image : rustlang/rust:nightly
366+ cpu : 1
367+ memory : 2G
300368 setup_script :
301369 - cargo update -Zminimal-versions
302370 check_script :
@@ -308,5 +376,7 @@ task:
308376 name : Rust Formatter
309377 container :
310378 image : rust:latest
379+ cpu : 1
380+ memory : 2G
311381 setup_script : rustup component add rustfmt
312382 test_script : cargo fmt --all -- --check **/*.rs
0 commit comments