@@ -54,12 +54,11 @@ task:
5454
5555# Test OSX in a full VM
5656task :
57- matrix :
58- - name : OSX x86_64
59- env :
60- TARGET : x86_64-apple-darwin
57+ name : OSX x86_64
58+ env :
59+ TARGET : x86_64-apple-darwin
6160 osx_instance :
62- image : catalina -xcode
61+ image : big-sur -xcode
6362 setup_script :
6463 - curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs
6564 - sh rustup.sh -y --profile=minimal --default-toolchain $TOOLCHAIN
@@ -257,6 +256,32 @@ task:
257256 << : *BUILD
258257 before_cache_script : rm -rf $CARGO_HOME/registry/index
259258
259+ # DragonflyBSD temporarily needs a pinned nightly toolchain
260+ # rustc is broken on DragonflyBSD as of Dec-5, probably by
261+ # https://github.com/rust-lang/rust/commit/e68887e67cc6b7bb4ea5113a40eaa4c0831bda13
262+ task :
263+ container :
264+ image : rust:1.46
265+ name : DragonFly BSD x86_64
266+ env :
267+ BUILD : check
268+ ZFLAGS : -Zbuild-std
269+ TARGET : x86_64-unknown-dragonfly
270+ # Redox requires a nightly compiler.
271+ # If stuff breaks, change nightly to the date at
272+ # https://gitlab.redox-os.org/redox-os/redox/-/blob/master/rust-toolchain
273+ TOOLCHAIN : nightly-2021-12-04
274+ # Temporarily allow deprecation on DragonflyBSD until an alternative is
275+ # available.
276+ # https://github.com/rust-lang/libc/pull/2522
277+ RUSTFLAGS : -D warnings -A deprecated
278+ setup_script :
279+ - rustup toolchain add $TOOLCHAIN --profile minimal
280+ - rustup component add rust-src --toolchain $TOOLCHAIN
281+ - rustup component add clippy --toolchain $TOOLCHAIN
282+ << : *BUILD
283+ before_cache_script : rm -rf $CARGO_HOME/registry/index
284+
260285# Rust Tier 3 targets can't use Rustup
261286task :
262287 container :
@@ -266,13 +291,6 @@ task:
266291 TOOLCHAIN : nightly
267292 ZFLAGS : -Zbuild-std
268293 matrix :
269- - name : DragonFly BSD x86_64
270- env :
271- TARGET : x86_64-unknown-dragonfly
272- # Temporarily allow deprecation on DragonflyBSD until an alternative is
273- # available.
274- # https://github.com/rust-lang/libc/pull/2522
275- RUSTFLAGS : -D warnings -A deprecated
276294 - name : OpenBSD x86_64
277295 env :
278296 TARGET : x86_64-unknown-openbsd
0 commit comments