ci improvements c:

This commit is contained in:
Lynne Megido 2021-10-06 03:07:34 +10:00
parent 36c0e99a92
commit fcaaf283b7
Signed by: lynnesbian
GPG Key ID: F0A184B5213D9F90

View File

@ -37,6 +37,7 @@ stages:
script:
- cargo install cargo-sweep
- cargo sweep -i
- git -C $CI_PROJECT_DIR/.cargo/registry/index/github.com-1ecc6299db9ec823/ gc || true
# this builds a "base" version of fif with default features enabled. this is done separately from the main build step
# for the purposes of caching - by building once *before* executing the parallel cargo-build step, we ensure that
@ -59,7 +60,7 @@ stages:
- multi-threaded infer-backend
script:
cargo build --no-default-features --locked --features="json $FEATURES"
cargo run --no-default-features --locked --features="json $FEATURES" -- --version
# test with various features on and off.
.cargo-test: