@@ -54,12 +54,11 @@ task:
54
54
55
55
# Test OSX in a full VM
56
56
task :
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
61
60
osx_instance :
62
- image : catalina -xcode
61
+ image : big-sur -xcode
63
62
setup_script :
64
63
- curl --proto '=https' --tlsv1.2 -sSf -o rustup.sh https://sh.rustup.rs
65
64
- sh rustup.sh -y --profile=minimal --default-toolchain $TOOLCHAIN
@@ -257,6 +256,32 @@ task:
257
256
<< : *BUILD
258
257
before_cache_script : rm -rf $CARGO_HOME/registry/index
259
258
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
+
260
285
# Rust Tier 3 targets can't use Rustup
261
286
task :
262
287
container :
@@ -266,13 +291,6 @@ task:
266
291
TOOLCHAIN : nightly
267
292
ZFLAGS : -Zbuild-std
268
293
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
276
294
- name : OpenBSD x86_64
277
295
env :
278
296
TARGET : x86_64-unknown-openbsd
0 commit comments