Commit a890ab4b authored by Ondřej Surý's avatar Ondřej Surý

Merge branch '130-use-ccache-to-speed-up-gitlab-ci-builds' into 'master'

Resolve "Use ccache to speed-up Gitlab CI builds"

Closes #130

See merge request !105
parents c9f4bdde 7cda25f1
Pipeline #605 passed with stages
in 22 minutes and 20 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