Skip to content

Commit

Permalink
add CI job checking rustc-dep-of-std build mode
Browse files Browse the repository at this point in the history
  • Loading branch information
RalfJung committed Nov 4, 2024
1 parent ccec5eb commit a40a2ce
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a40a2ce

Please sign in to comment.