move bench to a seprate, parallel step
This commit is contained in:
parent
c86e9e8568
commit
fa44a71d3e
|
@ -3,7 +3,12 @@ steps:
|
||||||
name: "stable [public]"
|
name: "stable [public]"
|
||||||
env:
|
env:
|
||||||
CARGO_TARGET_CACHE_NAME: "stable"
|
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"
|
- command: "ci/shellcheck.sh"
|
||||||
name: "shellcheck [public]"
|
name: "shellcheck [public]"
|
||||||
timeout_in_minutes: 20
|
timeout_in_minutes: 20
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
cd "$(dirname "$0")/.."
|
||||||
|
|
||||||
|
ci/version-check.sh stable
|
||||||
|
export RUST_BACKTRACE=1
|
||||||
|
|
||||||
|
_() {
|
||||||
|
echo "--- $*"
|
||||||
|
"$@"
|
||||||
|
}
|
||||||
|
|
||||||
|
_ cargo bench --verbose
|
|
@ -13,7 +13,6 @@ _() {
|
||||||
_ cargo fmt -- --check
|
_ cargo fmt -- --check
|
||||||
_ cargo build --verbose
|
_ cargo build --verbose
|
||||||
_ cargo test --verbose
|
_ cargo test --verbose
|
||||||
_ cargo bench --verbose
|
|
||||||
|
|
||||||
echo --- ci/localnet-sanity.sh
|
echo --- ci/localnet-sanity.sh
|
||||||
(
|
(
|
||||||
|
|
Loading…
Reference in New Issue