aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2020-12-21 15:03:49 -0800
committerWireshark GitLab Utility <gerald+gitlab-utility@wireshark.org>2020-12-22 02:55:43 +0000
commit7b27b444cbd94853b399da770e0dad4b91ef23ac (patch)
treedc24583adf286b2a50d46f5ce35c0ae87bb3029c
parentfc124f45bb6daa9817e2e5867e56b21442fa335a (diff)
GitLab CI: Set CCACHE_DIR globally.
-rw-r--r--.gitlab-ci.yml5
1 files 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