Skip to content

Commit

Permalink
Override CARGO_TARGET_DIR
Browse files Browse the repository at this point in the history
  • Loading branch information
MarkusPettersson98 committed Dec 12, 2023
1 parent df07bc4 commit 7f53305
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ if [[ $TARGET == x86_64-unknown-linux-gnu ]]; then
-v "${SCRIPT_DIR}/.container/cargo-registry":/root/.cargo/registry \
-v "${APP_DIR}":/src:Z \
-e CARGO_HOME=/root/.cargo/registry \
-e CARGO_TARGET_DIR=/src/test/target \
mullvadvpn-app-tests \
/bin/bash -c "cd /src/test/; cargo build --bin test-runner --release --target ${TARGET}"
else
Expand Down

0 comments on commit 7f53305

Please sign in to comment.