Fix ci-scripts/run_tests_unix.sh: unset CARGO_HOME

and `CARGO_INSTALL_ROOT`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
This commit is contained in:
Jiahao XU 2022-07-23 18:51:50 +10:00
parent 5ea66574c3
commit 3c09cfb196
No known key found for this signature in database
GPG key ID: 591C0B03040416D6

View file

@ -5,6 +5,9 @@ set -euxo pipefail
bins="cargo-deb cargo-llvm-cov cargo-binstall" bins="cargo-deb cargo-llvm-cov cargo-binstall"
test_bins="cargo-deb cargo-llvm-cov" test_bins="cargo-deb cargo-llvm-cov"
unset CARGO_INSTALL_ROOT
unset CARGO_HOME
# Install binaries using cargo-binstall # Install binaries using cargo-binstall
# shellcheck disable=SC2086 # shellcheck disable=SC2086
"./$1" binstall --log-level debug --no-confirm $bins "./$1" binstall --log-level debug --no-confirm $bins