cache target

master
Ales Katona 6 years ago
parent 97f30fbf01
commit 8a94ed5d2b
Signed by: almindor
GPG Key ID: 08C459E2D8ABB7E8

@ -7,15 +7,30 @@ stages:
lint:
stage: lint
cache:
key: artifacts
paths:
- target
policy: push
script:
- cargo clippy --features backend_piston,backend_gilrs
build:
stage: build
cache:
key: artifacts
paths:
- target
policy: pull
script:
- cargo build --verbose --features backend_piston,backend_gilrs
test:
stage: test
cache:
key: artifacts
paths:
- target
policy: pull
script:
- cargo test --features backend_piston,backend_gilrs

Loading…
Cancel
Save