Add build vs watch scripts, tell drone to build_all_features.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
fcc22b24cd
commit
690048cbef
@ -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
|
||||
|
||||
|
||||
@ -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
5
rtiow/watch_all_features.sh
Executable 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'
|
||||
Loading…
x
Reference in New Issue
Block a user