Add version check and rustup

This commit is contained in:
Michael Vines 2018-10-24 19:36:50 -07:00 committed by Grimes
parent af8a36b7fb
commit b982595c73
1 changed files with 7 additions and 0 deletions

View File

@ -2,6 +2,13 @@
cd "$(dirname "$0")/.."
if ! ci/version-check.sh stable; then
# This job doesn't run within a container, try once to upgrade tooling on a
# version check failure
rustup install stable
ci/version-check.sh stable
fi
DRYRUN=
if [[ -z $BUILDKITE_BRANCH ]] || ./ci/is-pr.sh; then
DRYRUN="echo"