aboutsummaryrefslogtreecommitdiff
path: root/ci/script.sh
diff options
context:
space:
mode:
Diffstat (limited to 'ci/script.sh')
-rwxr-xr-xci/script.sh12
1 files changed, 8 insertions, 4 deletions
diff --git a/ci/script.sh b/ci/script.sh
index 0bf34e0..b9f6886 100755
--- a/ci/script.sh
+++ b/ci/script.sh
@@ -1,10 +1,14 @@
set -ex
+export CARGO_INCREMENTAL=0
+
+FEATURES="async_smol async_tokio async_std async_futures"
+
if [ "$CLIPPY" = "yes" ]; then
cargo clippy --all -- -D warnings
elif [ "$DOCS" = "yes" ]; then
cargo clean
- cargo doc --all --no-deps
+ cargo doc --features "$FEATURES" --all --no-deps
cd book
mdbook build
cd ..
@@ -18,10 +22,10 @@ elif [ "$MINIMAL_VERSIONS" = "yes" ]; then
else
export RUSTFLAGS="-D warnings"
- cargo build $BUILD_ARGS --release
+ cargo build --features "$FEATURES" $BUILD_ARGS
- cargo test --all --release
- cargo test --benches
+ cargo test --features "$FEATURES" --all
+ cargo test --features "$FEATURES" --benches
cd bencher_compat
export CARGO_TARGET_DIR="../target"