From 82bb17d7720b206d31f96c1eeed5bda389f09547 Mon Sep 17 00:00:00 2001 From: Arne Keller Date: Sat, 20 Mar 2021 22:46:35 +0100 Subject: [PATCH] Fix target dir --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 91f7d19..054bafc 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -1,12 +1,13 @@ variables: CARGO_HOME: /tmp/cargo + CARGO_TARGET_DIR: /tmp/cargo/target build: script: - - nix-shell -p rustc cargo --run "sh -c ' + - nix-shell -p rustc cargo --run "sh -c 'set -x; rustc -vV && cargo -vV && cargo build'" test: script: - - nix-shell -p cargo --run 'cargo test' + - nix-shell -p cargo --run 'set -x; cargo test'