diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8f89d1b..c8d8b47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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