Add rustc/cargo version check

This commit is contained in:
Michael Vines
2018-08-06 08:57:12 -07:00
committed by Grimes
parent 0514f5e573
commit 91741e20fa
5 changed files with 53 additions and 7 deletions

View File

@ -2,11 +2,17 @@
cd "$(dirname "$0")/.."
./fetch-perf-libs.sh
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
export RUST_BACKTRACE=1
./fetch-perf-libs.sh
export LD_LIBRARY_PATH=$PWD:/usr/local/cuda/lib64
export PATH=$PATH:/usr/local/cuda/bin
export RUST_BACKTRACE=1
_() {
echo "--- $*"