ci: Use a separate ccache for each CI job
authorSimon McVittie <smcv@collabora.com>
Thu, 4 Oct 2018 17:41:29 +0000 (18:41 +0100)
committerSimon McVittie <smcv@collabora.com>
Thu, 4 Oct 2018 17:48:04 +0000 (18:48 +0100)
This should avoid them overwriting each other.

Signed-off-by: Simon McVittie <smcv@collabora.com>
(cherry picked from commit e3fb085886d26aa84a0ce1bfe441244206c87e6f)

.gitlab-ci.yml

index 42a331f..3164d13 100644 (file)
@@ -35,6 +35,7 @@ before_script:
   - export PATH="/usr/lib/ccache:$PATH"
 
 cache:
+  key: dbus-1.12-${CI_JOB_NAME}
   paths:
     - .ccache/