move './miri check' for features to the style check job
This commit is contained in:
parent
660a5713f5
commit
a8edf26a61
2 changed files with 7 additions and 8 deletions
4
src/tools/miri/.github/workflows/ci.yml
vendored
4
src/tools/miri/.github/workflows/ci.yml
vendored
|
|
@ -130,6 +130,10 @@ jobs:
|
|||
run: ./miri fmt --check
|
||||
- name: clippy
|
||||
run: ./miri clippy -- -D warnings
|
||||
- name: clippy (no features)
|
||||
run: ./miri clippy --no-default-features -- -D warnings
|
||||
- name: clippy (all features)
|
||||
run: ./miri clippy --all-features -- -D warnings
|
||||
- name: rustdoc
|
||||
run: RUSTDOCFLAGS="-Dwarnings" ./miri cargo doc --document-private-items
|
||||
|
||||
|
|
|
|||
|
|
@ -27,20 +27,15 @@ export RUSTFLAGS="-D warnings"
|
|||
export CARGO_INCREMENTAL=0
|
||||
export CARGO_EXTRA_FLAGS="--locked"
|
||||
|
||||
# Determine configuration for installed build
|
||||
# Determine configuration for installed build (used by test-cargo-miri).
|
||||
echo "Installing release version of Miri"
|
||||
./miri install
|
||||
|
||||
echo "Checking various feature flag configurations"
|
||||
./miri check --no-default-features # make sure this can be built
|
||||
./miri check # and this, too
|
||||
# `--all-features` is used for the build below, so no extra check needed.
|
||||
time ./miri install
|
||||
|
||||
# Prepare debug build for direct `./miri` invocations.
|
||||
# We enable all features to make sure the Stacked Borrows consistency check runs.
|
||||
echo "Building debug version of Miri"
|
||||
export CARGO_EXTRA_FLAGS="$CARGO_EXTRA_FLAGS --all-features"
|
||||
./miri build --all-targets # the build that all the `./miri test` below will use
|
||||
time ./miri build --all-targets # the build that all the `./miri test` below will use
|
||||
|
||||
endgroup
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue