mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 18:52:07 -04:00
Tweak the way ccache is used during CI
Our current CI configuration causes ccache data to be zipped after each job and also included in build artifacts, which will quickly become infeasible as ccache data grows. Instead of asking gitlab-runner to preserve ccache data between jobs, keep a separate ccache directory on each runner, expecting it to be accessible at /ccache when a CI job is run. As this requires gitlab-runner to be configured in a specific way, do not use ccache at all in case the ccache directory is not found while building.
This commit is contained in:
parent
8dd99563d1
commit
09004c25a8
1 changed files with 1 additions and 1 deletions
|
|
@ -85,7 +85,7 @@ stages:
|
|||
.build: &build_job
|
||||
stage: build
|
||||
before_script:
|
||||
- export PATH="/usr/lib/ccache:$PATH"
|
||||
- test -w "${CCACHE_DIR}" && export PATH="/usr/lib/ccache:${PATH}"
|
||||
- ./autogen.sh
|
||||
script:
|
||||
- ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr/local
|
||||
|
|
|
|||
Loading…
Reference in a new issue