ci: fix FreeBSD ci (#5613)

This commit is contained in:
Alice Ryhl
2023-04-10 15:26:59 +02:00
committed by GitHub
parent 03912b9cf7
commit b02c550c52
+4 -4
View File
@@ -1,7 +1,7 @@
only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH =~ 'tokio-.*') only_if: $CIRRUS_TAG == '' && ($CIRRUS_PR != '' || $CIRRUS_BRANCH == 'master' || $CIRRUS_BRANCH =~ 'tokio-.*')
auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*' auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*'
freebsd_instance: freebsd_instance:
image_family: freebsd-12-4 image_family: freebsd-13-1
env: env:
RUST_STABLE: stable RUST_STABLE: stable
RUST_NIGHTLY: nightly-2022-10-25 RUST_NIGHTLY: nightly-2022-10-25
@@ -14,7 +14,7 @@ env:
task: task:
name: FreeBSD 64-bit name: FreeBSD 64-bit
setup_script: setup_script:
- pkg install -y bash curl - pkg install -y bash
- curl https://sh.rustup.rs -sSf --output rustup.sh - curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE - sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
- . $HOME/.cargo/env - . $HOME/.cargo/env
@@ -31,7 +31,7 @@ task:
RUSTFLAGS: --cfg docsrs --cfg tokio_unstable RUSTFLAGS: --cfg docsrs --cfg tokio_unstable
RUSTDOCFLAGS: --cfg docsrs --cfg tokio_unstable -Dwarnings RUSTDOCFLAGS: --cfg docsrs --cfg tokio_unstable -Dwarnings
setup_script: setup_script:
- pkg install -y bash curl - pkg install -y bash
- curl https://sh.rustup.rs -sSf --output rustup.sh - curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_NIGHTLY - sh rustup.sh -y --profile minimal --default-toolchain $RUST_NIGHTLY
- . $HOME/.cargo/env - . $HOME/.cargo/env
@@ -45,7 +45,7 @@ task:
task: task:
name: FreeBSD 32-bit name: FreeBSD 32-bit
setup_script: setup_script:
- pkg install -y bash curl - pkg install -y bash
- curl https://sh.rustup.rs -sSf --output rustup.sh - curl https://sh.rustup.rs -sSf --output rustup.sh
- sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE - sh rustup.sh -y --profile minimal --default-toolchain $RUST_STABLE
- . $HOME/.cargo/env - . $HOME/.cargo/env