Commit 7cda25f1 authored by Ondřej Surý's avatar Ondřej Surý Committed by Ondřej Surý

chg: dev: Use ccache to speed-up the builds

parent c9f4bdde
Pipeline #600 passed with stages
in 15 minutes and 58 seconds
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment