Add build vs watch scripts, tell drone to build_all_features.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Bill Thiede 2019-10-13 08:25:47 -07:00
parent fcc22b24cd
commit 690048cbef
3 changed files with 11 additions and 5 deletions

View File

@ -13,7 +13,7 @@ steps:
commands:
- sccache -s
- apt-get update && apt-get install -y libgoogle-perftools-dev
- (cd rtiow && cargo build --verbose --all)
- (cd rtiow && ./build_all_features.sh)
- (cd rtiow && cargo test --verbose --all)
- sccache -s

View File

@ -1,5 +1,6 @@
set -e
export RUSTFLAGS="-D warnings"
cargo watch -x 'build' \
-x 'build --features=prom' \
-x 'build --features=profile' \
-x 'build --features=prom,profile'
cargo build
cargo build --features=prom
cargo build --features=profile
cargo build --features=prom,profile

5
rtiow/watch_all_features.sh Executable file
View File

@ -0,0 +1,5 @@
export RUSTFLAGS="-D warnings"
cargo watch -x 'build' \
-x 'build --features=prom' \
-x 'build --features=profile' \
-x 'build --features=prom,profile'