diff --git a/ci/buildkite.yml b/ci/buildkite.yml index 76708897f..6f0729f68 100644 --- a/ci/buildkite.yml +++ b/ci/buildkite.yml @@ -3,7 +3,12 @@ steps: name: "stable [public]" env: CARGO_TARGET_CACHE_NAME: "stable" - timeout_in_minutes: 60 + timeout_in_minutes: 30 + - command: "ci/docker-run.sh solanalabs/rust ci/test-bench.sh" + name: "bench [public]" + env: + CARGO_TARGET_CACHE_NAME: "bench" + timeout_in_minutes: 30 - command: "ci/shellcheck.sh" name: "shellcheck [public]" timeout_in_minutes: 20 diff --git a/ci/test-bench.sh b/ci/test-bench.sh new file mode 100755 index 000000000..4541b51dd --- /dev/null +++ b/ci/test-bench.sh @@ -0,0 +1,13 @@ +#!/bin/bash -e + +cd "$(dirname "$0")/.." + +ci/version-check.sh stable +export RUST_BACKTRACE=1 + +_() { + echo "--- $*" + "$@" +} + +_ cargo bench --verbose diff --git a/ci/test-stable.sh b/ci/test-stable.sh index 895bea262..88a5a33d3 100755 --- a/ci/test-stable.sh +++ b/ci/test-stable.sh @@ -13,7 +13,6 @@ _() { _ cargo fmt -- --check _ cargo build --verbose _ cargo test --verbose -_ cargo bench --verbose echo --- ci/localnet-sanity.sh (