From 8a94ed5d2b9bb4362484751f512228d65a1a62e5 Mon Sep 17 00:00:00 2001 From: Ales Katona Date: Wed, 23 Jan 2019 14:52:36 -0700 Subject: [PATCH] cache target --- .gitlab-ci.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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