From 8ef73eee511514cd738d206a045bbf030af85c14 Mon Sep 17 00:00:00 2001 From: Michael Vines Date: Sat, 1 Dec 2018 11:11:16 -0800 Subject: [PATCH] Reject builds faster: if sanity checks fail don't bother with the rest --- ci/buildkite.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/ci/buildkite.yml b/ci/buildkite.yml index c4482a6e78..55bdc2cdb0 100644 --- a/ci/buildkite.yml +++ b/ci/buildkite.yml @@ -1,4 +1,13 @@ steps: + - command: "ci/shellcheck.sh" + name: "shellcheck [public]" + timeout_in_minutes: 20 + - command: "ci/docker-run.sh solanalabs/rust:1.30.1 ci/test-checks.sh" + name: "checks [public]" + env: + CARGO_TARGET_CACHE_NAME: "checks" + timeout_in_minutes: 30 + - wait - command: "ci/test-stable-perf.sh" name: "stable-perf [public]" env: @@ -16,14 +25,6 @@ steps: env: CARGO_TARGET_CACHE_NAME: "stable" timeout_in_minutes: 30 - - command: "ci/docker-run.sh solanalabs/rust:1.30.1 ci/test-checks.sh" - name: "checks [public]" - env: - CARGO_TARGET_CACHE_NAME: "checks" - timeout_in_minutes: 30 - - command: "ci/shellcheck.sh" - name: "shellcheck [public]" - timeout_in_minutes: 20 - command: "ci/docker-run.sh solanalabs/rust-nightly:2018-11-12 ci/test-nightly.sh" name: "nightly [public]" env: