File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -363,7 +363,13 @@ jobs:
363
363
include :
364
364
- target : aarch64-unknown-freebsd
365
365
os : freebsd
366
- version : ' 13.2'
366
+ version : ' 13.3'
367
+ - target : aarch64-unknown-freebsd
368
+ os : freebsd
369
+ version : ' 14.0'
370
+ - target : aarch64-unknown-netbsd
371
+ os : netbsd
372
+ version : ' 10.0'
367
373
- target : aarch64-unknown-openbsd
368
374
os : openbsd
369
375
version : ' 7.3'
@@ -375,16 +381,18 @@ jobs:
375
381
with :
376
382
environment_variables : CARGO_INCREMENTAL CARGO_NET_RETRY CARGO_TERM_COLOR RUST_BACKTRACE RUST_TEST_THREADS RUSTDOCFLAGS RUSTFLAGS RUSTUP_MAX_RETRIES TEST_FEATURES
377
383
operating_system : ${{ matrix.os }}
384
+ # We don't test x86_64 here because there is no OS-specific code on x86_64.
378
385
architecture : aarch64
379
386
version : ${{ matrix.version }}
380
387
shell : bash
381
388
sync_files : runner-to-vm
382
389
run : |
383
390
set -eEuxo pipefail
384
391
export RUSTFLAGS="${RUSTFLAGS} --cfg qemu"
385
- # AArch64 FreeBSD/OpenBSD are tier 3 targets, so install rust from package manager instead of rustup.
392
+ # AArch64 FreeBSD/NetBSD/ OpenBSD are tier 3 targets, so install rust from package manager instead of rustup.
386
393
case "$(uname -s)" in
387
394
FreeBSD) sudo pkg install -y rust ;;
395
+ NetBSD) sudo pkgin -y install rust ;;
388
396
OpenBSD)
389
397
# As of OpenBSD 7.3, the built-in git library is very slow.
390
398
export CARGO_NET_GIT_FETCH_WITH_CLI=true
@@ -394,6 +402,7 @@ jobs:
394
402
;;
395
403
esac
396
404
rustc -vV
405
+ # VM is very slow, so only test OS-specific code and code using them.
397
406
cargo test --features std --tests -- aarch64
398
407
399
408
build :
You can’t perform that action at this time.
0 commit comments