From 9107a610deb130d0e4ddee92d6ca9a08a8e103f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michel=20D=C3=A4nzer?= Date: Mon, 23 Dec 2019 10:41:32 +0100 Subject: [PATCH] gitlab-ci: Use host-mapped directory for ccache Same as done in Mesa. Reviewed-by: Peter Hutterer Reviewed-by: Olivier Fourdan --- .gitlab-ci.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d80e5e848..8ea7c8e47 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -53,20 +53,16 @@ debian-testing: when: on_failure paths: - build/test/piglit-results/ - cache: - paths: - - ccache/ variables: + CCACHE_COMPILERCHECK: content + CCACHE_DIR: /cache/xserver/cache LC_ALL: C.UTF-8 before_script: - export CCACHE_BASEDIR="$PWD" - - export CCACHE_DIR="$PWD/ccache" - - export CCACHE_COMPILERCHECK=content - export PATH="/usr/lib/ccache:$PATH" - - ccache --zero-stats - ccache --show-stats after_script: - - CCACHE_DIR="$PWD/ccache" ccache --show-stats + - ccache --show-stats autotools-build-and-test: extends: .common-build-and-test