kv/.gitlab-ci.yml

14 lines
277 B
YAML
Raw Normal View History

2021-03-20 21:24:52 +00:00
variables:
CARGO_HOME: /tmp/cargo
2021-03-20 21:46:35 +00:00
CARGO_TARGET_DIR: /tmp/cargo/target
2021-03-20 21:24:52 +00:00
build:
script:
2021-03-20 21:46:35 +00:00
- nix-shell -p rustc cargo --run "sh -c 'set -x;
2021-03-20 21:29:51 +00:00
rustc -vV &&
cargo -vV &&
cargo build'"
2021-03-20 21:24:52 +00:00
test:
script:
2021-03-20 21:47:23 +00:00
- nix-shell -p rustc cargo --run 'set -x; cargo test'