summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorChristoph Reiter <reiter.christoph@gmail.com>2018-06-21 08:22:36 +0200
committerChristoph Reiter <reiter.christoph@gmail.com>2018-06-21 09:00:18 +0200
commit8bcc831c5f80bdac44b360db5fbb16db118a6951 (patch)
tree46f4f5448d94f98aeaa880801601da66dc4ccf67 /.gitlab-ci.yml
parentd3efb8537a07133c2718deaa53b39a3433eef54b (diff)
downloadgobject-introspection-8bcc831c5f80bdac44b360db5fbb16db118a6951.tar.gz
CI: use ccache
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml7
1 files changed, 7 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index cb91027e..74052943 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -1,9 +1,16 @@
stages:
- build
+cache:
+ paths:
+ - _ccache/
+
fedora-x86_64:
stage: build
image: registry.gitlab.gnome.org/gnome/gobject-introspection:v1
+ variables:
+ CCACHE_BASEDIR: "${CI_PROJECT_DIR}"
+ CCACHE_DIR: "${CI_PROJECT_DIR}/_ccache"
script:
- meson --prefix /usr --libdir /usr/lib64 --buildtype debug -Dcairo=true _build .
- cd _build