From 00de912ad5e0afc93652fc2ad211348ef7f8cb0a Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 15 May 2018 15:40:02 -0500 Subject: [PATCH 1/2] Set environment variables for taskcluster builds --- etc/ci/taskcluster-test.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/etc/ci/taskcluster-test.sh b/etc/ci/taskcluster-test.sh index 9a18b9a489a..e9715384f7c 100755 --- a/etc/ci/taskcluster-test.sh +++ b/etc/ci/taskcluster-test.sh @@ -9,6 +9,12 @@ set -o nounset set -o pipefail # Update this from the linux-dev builder in etc/ci/buildbot_steps.yml + +export RUST_BACKTRACE=1 +export RUSTFLAGS="-Dwarnings" +export CARGO_INCREMENTAL=0 +export SCCACHE_IDLE_TIMEOUT=1200 + ./mach test-tidy --no-progress --all ./mach test-tidy --no-progress --self-test env CC=gcc-5 CXX=g++-5 ./mach build --dev From f69cbbb647b03818a092d15f78562b9dbea7c885 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Tue, 15 May 2018 15:39:46 -0500 Subject: [PATCH 2/2] Install rustup in TaskCluster builds --- etc/ci/taskcluster-test.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/etc/ci/taskcluster-test.sh b/etc/ci/taskcluster-test.sh index e9715384f7c..95418f7b9f6 100755 --- a/etc/ci/taskcluster-test.sh +++ b/etc/ci/taskcluster-test.sh @@ -8,6 +8,9 @@ set -o errexit set -o nounset set -o pipefail +curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain none -y +export PATH="${HOME}/.cargo/bin:${PATH}" + # Update this from the linux-dev builder in etc/ci/buildbot_steps.yml export RUST_BACKTRACE=1