From 27b3f4326123cc10bd46244153b6e9a362d2e446 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maxime=20=E2=80=9Cpep=E2=80=9D=20Buquet?= Date: Fri, 13 Sep 2019 02:41:19 +0200 Subject: [PATCH] CI: Add caching MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Maxime “pep” Buquet --- .gitlab-ci.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 544ba12..7a36b52 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,9 +7,17 @@ variables: .stable: image: rust:latest + cache: + key: stable + paths: + - target/ .nightly: image: rustlang/rust:nightly + cache: + key: nightly + paths: + - target/ .build: stage: build