check no-default-features and all-features build on CI

This commit is contained in:
Ralf Jung 2022-08-15 19:33:07 -04:00
parent 79ebfa25dc
commit 2e3da5d8c3

3
ci.sh
View File

@ -5,11 +5,12 @@ set -x
# Determine configuration
export RUSTFLAGS="-D warnings"
export CARGO_INCREMENTAL=0
export CARGO_EXTRA_FLAGS="--all-features"
# Prepare
echo "Build and install miri"
./miri install # implicitly locked
./miri check --no-default-features # make sure this can be built
./miri check --all-features # and this, too
./miri build --all-targets --locked # the build that all the `./miri test` below will use
echo