Files
solana/ci/test-checks.sh
Michael Vines 4b07778609 Add bench_streamer feature to inhibit building solana-bench-streamer by default
This program is not currently used in any automation and is fairly slow
to build.  Disabling it by default will speed incremental builds.
2018-12-12 16:31:13 -08:00

24 lines
441 B
Bash
Executable File

#!/usr/bin/env bash
set -e
cd "$(dirname "$0")/.."
ci/version-check.sh stable
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_() {
echo "--- $*"
"$@"
}
# bench_streamer is disabled by default to speed up dev builds, enable it
# explicitly here to ensure it still passes clippy
FEATURES=bench_streamer
_ cargo fmt -- --check
_ cargo clippy -- --version
_ cargo clippy --features="$FEATURES" -- --deny=warnings
_ ci/audit.sh