diff --git a/ci/buildkite-stability.yml b/ci/buildkite-stability.yml new file mode 100644 index 0000000000..0335d53be1 --- /dev/null +++ b/ci/buildkite-stability.yml @@ -0,0 +1,4 @@ +steps: + - command: "ci/iterations-localnet.sh" + name: "iterations-localnet" + timeout_in_minutes: 40 diff --git a/ci/iterations-localnet.sh b/ci/iterations-localnet.sh new file mode 100755 index 0000000000..47765acdf5 --- /dev/null +++ b/ci/iterations-localnet.sh @@ -0,0 +1,24 @@ +#!/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