From efcdb4530155fbd6a702bf3137641cec072f8a6a Mon Sep 17 00:00:00 2001 From: Alexander Krotov Date: Fri, 18 Sep 2020 19:51:08 +0300 Subject: [PATCH] ci: use different target dirs for Python and Rust tests This prevents CI jobs from locking each other. --- ci_scripts/remote_tests_python.sh | 2 +- ci_scripts/remote_tests_rust.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ci_scripts/remote_tests_python.sh b/ci_scripts/remote_tests_python.sh index e787a734e..b320db0d1 100755 --- a/ci_scripts/remote_tests_python.sh +++ b/ci_scripts/remote_tests_python.sh @@ -32,7 +32,7 @@ ssh $SSHTARGET <<_HERE cd $BUILDDIR # let's share the target dir with our last run on this branch/job-type # cargo will make sure to block/unblock us properly - export CARGO_TARGET_DIR=\`pwd\`/../target + export CARGO_TARGET_DIR=\`pwd\`/../target-python export TARGET=release export DCC_PY_LIVECONFIG=$DCC_PY_LIVECONFIG export DCC_NEW_TMP_EMAIL=$DCC_NEW_TMP_EMAIL diff --git a/ci_scripts/remote_tests_rust.sh b/ci_scripts/remote_tests_rust.sh index 5498d38ef..3eefdf20c 100755 --- a/ci_scripts/remote_tests_rust.sh +++ b/ci_scripts/remote_tests_rust.sh @@ -26,7 +26,7 @@ ssh $SSHTARGET <<_HERE cd $BUILDDIR # let's share the target dir with our last run on this branch/job-type # cargo will make sure to block/unblock us properly - export CARGO_TARGET_DIR=\`pwd\`/../target + export CARGO_TARGET_DIR=\`pwd\`/../target-rust export TARGET=x86_64-unknown-linux-gnu export RUSTC_WRAPPER=sccache