From 7b27b444cbd94853b399da770e0dad4b91ef23ac Mon Sep 17 00:00:00 2001 From: Gerald Combs Date: Mon, 21 Dec 2020 15:03:49 -0800 Subject: [PATCH] GitLab CI: Set CCACHE_DIR globally. --- .gitlab-ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 8e3bca0b42..fbc6270ba9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,9 @@ # https://hub.docker.com/r/wireshark/wireshark-opensuse-15.2-dev # https://hub.docker.com/r/wireshark/wireshark-ubuntu-dev +variables: + CCACHE_DIR: "${CI_PROJECT_DIR}/ccache" + .build: &build stage: build after_script: @@ -34,8 +37,6 @@ - export LANG=en_US.UTF-8 - export PYTEST_ADDOPTS=--skip-missing-programs=dumpcap,rawshark - mkdir -p ccache - - export CCACHE_BASEDIR=${PWD} - - export CCACHE_DIR=${PWD}/ccache - ccache --show-stats - export DEB_BUILD_OPTIONS=nocheck - export DH_QUIET=1