]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use runner specific ccache directory
authorOndřej Surý <ondrej@sury.org>
Fri, 9 Mar 2018 13:24:41 +0000 (09:24 -0400)
committerOndřej Surý <ondrej@sury.org>
Fri, 9 Mar 2018 14:11:27 +0000 (10:11 -0400)
.gitlab-ci.yml

index f10063da454f6d15e3b0461f68c022b1c6fbf88f..b4685ae71c35f295f3c6e8980034fbfed3492a5e 100644 (file)
@@ -3,6 +3,7 @@ variables:
   LC_ALL: C
   DOCKER_DRIVER: overlay2
   CI_REGISTRY_IMAGE: oerdnj/bind9
+  CCACHE_DIR: "/ccache"
 
 stages:
   - precheck
@@ -85,7 +86,6 @@ stages:
   stage: build
   before_script:
     - export PATH="/usr/lib/ccache:$PATH"
-    - export CCACHE_DIR="$CI_PROJECT_DIR/.ccache"
     - ./autogen.sh
   script:
     - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr/local
@@ -93,10 +93,6 @@ stages:
   artifacts:
     expire_in: '1 hour'
     untracked: true
-  cache:
-    key: ccache
-    paths:
-    - .ccache/
 
 .system_test: &system_test_job
   stage: test