Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: run ci with 1.82 rustc beta release #6856

Closed
wants to merge 13 commits into from
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
resource_class: arm.medium
environment:
# Change to pin rust version
RUST_STABLE: stable
RUST_STABLE: beta
steps:
- checkout
- run:
Expand Down
61 changes: 45 additions & 16 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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

Expand Down
Loading