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: lint:
stage: lint stage: lint
cache:
key: artifacts
paths:
- target
policy: push
script: script:
- cargo clippy --features backend_piston,backend_gilrs - cargo clippy --features backend_piston,backend_gilrs
build: build:
stage: build stage: build
cache:
key: artifacts
paths:
- target
policy: pull
script: script:
- cargo build --verbose --features backend_piston,backend_gilrs - cargo build --verbose --features backend_piston,backend_gilrs
test: test:
stage: test stage: test
cache:
key: artifacts
paths:
- target
policy: pull
script: script:
- cargo test --features backend_piston,backend_gilrs - cargo test --features backend_piston,backend_gilrs

Loading…
Cancel
Save