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:
363363 include :
364364 - target : aarch64-unknown-freebsd
365365 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'
367373 - target : aarch64-unknown-openbsd
368374 os : openbsd
369375 version : ' 7.3'
@@ -375,16 +381,18 @@ jobs:
375381 with :
376382 environment_variables : CARGO_INCREMENTAL CARGO_NET_RETRY CARGO_TERM_COLOR RUST_BACKTRACE RUST_TEST_THREADS RUSTDOCFLAGS RUSTFLAGS RUSTUP_MAX_RETRIES TEST_FEATURES
377383 operating_system : ${{ matrix.os }}
384+ # We don't test x86_64 here because there is no OS-specific code on x86_64.
378385 architecture : aarch64
379386 version : ${{ matrix.version }}
380387 shell : bash
381388 sync_files : runner-to-vm
382389 run : |
383390 set -eEuxo pipefail
384391 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.
386393 case "$(uname -s)" in
387394 FreeBSD) sudo pkg install -y rust ;;
395+ NetBSD) sudo pkgin -y install rust ;;
388396 OpenBSD)
389397 # As of OpenBSD 7.3, the built-in git library is very slow.
390398 export CARGO_NET_GIT_FETCH_WITH_CLI=true
@@ -394,6 +402,7 @@ jobs:
394402 ;;
395403 esac
396404 rustc -vV
405+ # VM is very slow, so only test OS-specific code and code using them.
397406 cargo test --features std --tests -- aarch64
398407
399408 build :
You can’t perform that action at this time.
0 commit comments