32 lines
585 B
Bash
Executable File
32 lines
585 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
cd "$(dirname "$0")/.."
|
|
|
|
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
|
|
}
|
|
|
|
FEATURES=bpf_c,erasure,chacha
|
|
if [[ $(uname) = Darwin ]]; then
|
|
./build-perf-libs.sh
|
|
else
|
|
./fetch-perf-libs.sh
|
|
# shellcheck source=/dev/null
|
|
source ./target/perf-libs/env.sh
|
|
FEATURES=$FEATURES,cuda
|
|
fi
|
|
|
|
exec ci/test-stable.sh "$FEATURES"
|