Skip to content

Commit e3311d9

Browse files
authored
Merge pull request #583 from RalfJung/rustc-dep-of-std-CI
add CI job checking rustc-dep-of-std build mode
2 parents 1a27d8e + a40a2ce commit e3311d9

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/rust.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,18 @@ jobs:
8787
TARGET: x86_64-unknown-linux-gnu
8888
run: sh ci/run.sh
8989

90+
dep_of_std:
91+
runs-on: ubuntu-latest
92+
needs: basics
93+
steps:
94+
- uses: actions/checkout@v3
95+
- uses: dtolnay/rust-toolchain@nightly
96+
- run: |
97+
RUSTFLAGS="-Zforce-unstable-if-unmarked" cargo +nightly build --features rustc-dep-of-std
98+
99+
90100
conclusion:
91-
needs: [test, msrv]
101+
needs: [test, msrv, dep_of_std]
92102
# !cancelled() executes the job regardless of whether the previous jobs passed, failed or get skipped.
93103
if: ${{ !cancelled() }}
94104
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)