solana/ci/iterations-localnet.sh

25 lines
496 B
Bash
Raw Normal View History

2019-01-13 10:47:10 -08:00
#!/usr/bin/env bash
set -e
FEATURES="$1"
cd "$(dirname "$0")/.."
# Clear cached json keypair files
rm -rf "$HOME/.config/solana"
source ci/_
ci/version-check-with-upgrade.sh stable
export RUST_BACKTRACE=1
export RUSTFLAGS="-D warnings"
_ scripts/ulimit-n.sh
_ cargo build --all --features="$FEATURES"
export PATH=$PWD/target/debug:$PATH
export USE_INSTALL=1
_ ci/localnet-sanity.sh -b -i 256
# TODO: Enable next line once leader rotation stability is fixed
#_ ci/localnet-sanity.sh -i 256