From: Ondřej Surý Date: Tue, 6 Mar 2018 19:49:49 +0000 (+0100) Subject: chg: dev: Use ccache to speed-up the builds X-Git-Tag: v9.13.0~107^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7cda25f1af7f128a033d27355a8fdbdf01241531;p=thirdparty%2Fbind9.git chg: dev: Use ccache to speed-up the builds --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 754ddd0af9b..04135df6320 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -84,6 +84,8 @@ stages: .build: &build_job stage: build before_script: + - export PATH="/usr/lib/ccache:$PATH" + - export CCACHE_DIR="$CI_PROJECT_DIR/.ccache" - ./autogen.sh script: - ./configure --with-libtool --disable-static @@ -91,6 +93,10 @@ stages: artifacts: expire_in: '1 hour' untracked: true + cache: + key: ccache + paths: + - .ccache/ .test: &test_job stage: test