From 8bcc831c5f80bdac44b360db5fbb16db118a6951 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Thu, 21 Jun 2018 08:22:36 +0200 Subject: CI: use ccache --- .gitlab-ci/test-msys2.sh | 4 ++++ 1 file changed, 4 insertions(+) (limited to '.gitlab-ci') 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 -- cgit v1.2.1