summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
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