Fix target dir

This commit is contained in:
Arne Keller 2021-03-20 22:46:35 +01:00
parent b5a17ad31f
commit 82bb17d772

View File

@ -1,12 +1,13 @@
variables: variables:
CARGO_HOME: /tmp/cargo CARGO_HOME: /tmp/cargo
CARGO_TARGET_DIR: /tmp/cargo/target
build: build:
script: script:
- nix-shell -p rustc cargo --run "sh -c ' - nix-shell -p rustc cargo --run "sh -c 'set -x;
rustc -vV && rustc -vV &&
cargo -vV && cargo -vV &&
cargo build'" cargo build'"
test: test:
script: script:
- nix-shell -p cargo --run 'cargo test' - nix-shell -p cargo --run 'set -x; cargo test'