From 63a6541d0eff2932770e3de9a67b2a0b25e76278 Mon Sep 17 00:00:00 2001 From: elsid Date: Wed, 7 Oct 2020 22:11:05 +0200 Subject: [PATCH] Use separate caches for Debian builds Different builds cache different states. Each time cache file is written it erases the state created by a different type of build. --- .gitlab-ci.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2cb111a1a6..0855633af2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,6 @@ stages: - linux image: debian:bullseye cache: - key: cache.002 paths: - apt-cache/ - ccache/ @@ -32,12 +31,16 @@ stages: Debian_GCC: extends: .Debian + cache: + key: Debian_GCC.v1 variables: CC: gcc CXX: g++ Debian_GCC_tests: extends: .Debian + cache: + key: Debian_GCC_tests.v1 variables: CC: gcc CXX: g++ @@ -45,12 +48,16 @@ Debian_GCC_tests: Debian_Clang: extends: .Debian + cache: + key: Debian_Clang.v1 variables: CC: clang CXX: clang++ Debian_Clang_tests: extends: .Debian + cache: + key: Debian_Clang_tests.v1 variables: CC: clang CXX: clang++