From a40a2ce1a7d4ddba837b906c1ac2dc825aa7c5ed Mon Sep 17 00:00:00 2001 From: Ralf Jung Date: Mon, 4 Nov 2024 22:46:43 +0100 Subject: [PATCH] add CI job checking rustc-dep-of-std build mode --- .github/workflows/rust.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index c4d27bc3d..82196d7d7 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -87,8 +87,18 @@ jobs: TARGET: x86_64-unknown-linux-gnu run: sh ci/run.sh + dep_of_std: + runs-on: ubuntu-latest + needs: basics + steps: + - uses: actions/checkout@v3 + - uses: dtolnay/rust-toolchain@nightly + - run: | + RUSTFLAGS="-Zforce-unstable-if-unmarked" cargo +nightly build --features rustc-dep-of-std + + conclusion: - needs: [test, msrv] + needs: [test, msrv, dep_of_std] # !cancelled() executes the job regardless of whether the previous jobs passed, failed or get skipped. if: ${{ !cancelled() }} runs-on: ubuntu-latest