From: Rémi Bernon rbernon@codeweavers.com
To avoid jobs with different compilers overwriting each other.
As this will cause a different key to be used between build-daily-linux and the MR jobs, also add $CI_MERGE_REQUEST_DIFF_BASE_SHA to the key to try sharing caches across MR with the same base commit. --- tools/gitlab/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/tools/gitlab/build.yml b/tools/gitlab/build.yml index 9e5ce467e96..f5c0e39ccbe 100644 --- a/tools/gitlab/build.yml +++ b/tools/gitlab/build.yml @@ -7,7 +7,8 @@ variables: GIT_DEPTH: 0 cache: - - paths: + - key: $CI_JOB_NAME-ccache-$CI_MERGE_REQUEST_DIFF_BASE_SHA + paths: - ccache/ - key: files: