solana/ci/test-stable-perf.sh

28 lines
495 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -e
2018-05-27 18:19:07 -07:00
cd "$(dirname "$0")/.."
2018-05-21 23:02:54 -07:00
annotate() {
${BUILDKITE:-false} && {
buildkite-agent annotate "$@"
}
}
ci/affects-files.sh \
.rs$ \
ci/test-stable-perf.sh \
ci/test-stable.sh \
|| {
annotate --style info --context test-stable-perf \
"Stable Perf skipped as no .rs files were modified"
exit 0
}
./fetch-perf-libs.sh
# shellcheck source=/dev/null
source ./target/perf-libs/env.sh
FEATURES=bpf_c,cuda,erasure,chacha
exec ci/test-stable.sh "$FEATURES"