summaryrefslogtreecommitdiff
path: root/.gitlab-ci
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
parentd3efb8537a07133c2718deaa53b39a3433eef54b (diff)
downloadgobject-introspection-8bcc831c5f80bdac44b360db5fbb16db118a6951.tar.gz
CI: use ccache
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/test-msys2.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh
index 5b5efe2a..707313f9 100644
--- a/.gitlab-ci/test-msys2.sh
+++ b/.gitlab-ci/test-msys2.sh
@@ -15,6 +15,7 @@ pacman --noconfirm -S --needed \
git \
base-devel \
mingw-w64-$MSYS2_ARCH-toolchain \
+ mingw-w64-$MSYS2_ARCH-ccache \
mingw-w64-$MSYS2_ARCH-meson \
mingw-w64-$MSYS2_ARCH-python3 \
mingw-w64-$MSYS2_ARCH-libffi \
@@ -25,6 +26,9 @@ pacman --noconfirm -S --needed \
mingw-w64-$MSYS2_ARCH-zlib \
mingw-w64-$MSYS2_ARCH-gettext
+export CCACHE_BASEDIR="${CI_PROJECT_DIR}"
+export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache"
+
meson --buildtype debug _build
cd _build
ninja