diff --git a/.circleci/config.yml b/.circleci/config.yml index 6e30b9822fe..614a7c626bc 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -6,7 +6,7 @@ jobs: resource_class: arm.medium environment: # Change to pin rust version - RUST_STABLE: stable + RUST_STABLE: beta steps: - checkout - run: diff --git a/.cirrus.yml b/.cirrus.yml index a7ce0d9d456..8f603c0cf75 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -3,7 +3,7 @@ auto_cancellation: $CIRRUS_BRANCH != 'master' && $CIRRUS_BRANCH !=~ 'tokio-.*' freebsd_instance: image_family: freebsd-14-1 env: - RUST_STABLE: stable + RUST_STABLE: beta RUST_NIGHTLY: nightly-2024-05-05 RUSTFLAGS: -D warnings @@ -12,47 +12,76 @@ env: # 64-bit kernel and in a 64-bit environment. Our tests don't execute any of # the system's binaries, so the environment shouldn't matter. task: - name: FreeBSD 64-bit + name: FreeBSD 32-bit 2024-08-18 setup_script: - pkg install -y bash - 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 nightly-2024-08-18 - . $HOME/.cargo/env + - rustup target add i686-unknown-freebsd + - | + echo "~~~~ rustc --version ~~~~" + rustc --version --verbose + test_script: + - . $HOME/.cargo/env + - cargo test -p tests-build --all-features --target i686-unknown-freebsd + +task: + name: FreeBSD 32-bit 2024-08-19 + setup_script: + - pkg install -y bash + - curl https://sh.rustup.rs -sSf --output rustup.sh + - sh rustup.sh -y --profile minimal --default-toolchain nightly-2024-08-19 + - . $HOME/.cargo/env + - rustup target add i686-unknown-freebsd - | echo "~~~~ rustc --version ~~~~" - rustc --version + rustc --version --verbose test_script: - . $HOME/.cargo/env - - cargo test --all --all-features + - cargo test -p tests-build --all-features --target i686-unknown-freebsd task: - name: FreeBSD docs - env: - RUSTFLAGS: --cfg docsrs --cfg tokio_unstable - RUSTDOCFLAGS: --cfg docsrs --cfg tokio_unstable -Dwarnings + name: FreeBSD 32-bit 2024-08-20 setup_script: - pkg install -y bash - 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 nightly-2024-08-20 - . $HOME/.cargo/env + - rustup target add i686-unknown-freebsd + - | + echo "~~~~ rustc --version ~~~~" + rustc --version --verbose + test_script: + - . $HOME/.cargo/env + - cargo test -p tests-build --all-features --target i686-unknown-freebsd + +task: + name: FreeBSD 32-bit 2024-08-21 + setup_script: + - pkg install -y bash + - curl https://sh.rustup.rs -sSf --output rustup.sh + - sh rustup.sh -y --profile minimal --default-toolchain nightly-2024-08-22 + - . $HOME/.cargo/env + - rustup target add i686-unknown-freebsd - | echo "~~~~ rustc --version ~~~~" - rustc --version + rustc --version --verbose test_script: - . $HOME/.cargo/env - - cargo doc --lib --no-deps --all-features --document-private-items + - cargo test -p tests-build --all-features --target i686-unknown-freebsd task: - name: FreeBSD 32-bit + name: FreeBSD 32-bit 2024-08-22 setup_script: - pkg install -y bash - 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 nightly-2024-08-22 - . $HOME/.cargo/env - rustup target add i686-unknown-freebsd - | echo "~~~~ rustc --version ~~~~" - rustc --version + rustc --version --verbose test_script: - . $HOME/.cargo/env - - cargo test --all --all-features --target i686-unknown-freebsd + - cargo test -p tests-build --all-features --target i686-unknown-freebsd diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b6295d9c4cb..3b2689995ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,7 +15,7 @@ env: RUST_BACKTRACE: 1 RUSTUP_WINDOWS_PATH_ADD_BIN: 1 # Change to specific Rust release to pin - rust_stable: stable + rust_stable: beta rust_nightly: nightly-2024-05-05 rust_clippy: '1.77' # When updating this, also update: @@ -831,7 +831,7 @@ jobs: - name: Checkout the latest release because HEAD maybe contains breakage. run: | set -x - tag=$(git describe --abbrev=0 --tags) + tag=bb51c81b74cbbeaa922d52d4472b25eaf3c62eff git checkout "${tag}" working-directory: hyper