diff options
author | Christoph Reiter <reiter.christoph@gmail.com> | 2020-08-05 21:58:46 +0200 |
---|---|---|
committer | Christoph Reiter <reiter.christoph@gmail.com> | 2020-08-05 21:58:46 +0200 |
commit | e77d82eaac00664de6e02e1ab64a2a7a74c46e7f (patch) | |
tree | d9e467401bc45f876b2efc18fe2566d78cdd5626 /.gitlab-ci | |
parent | 4babdcd6623bbb578b143358818c0b8f13d30302 (diff) | |
download | gtk+-e77d82eaac00664de6e02e1ab64a2a7a74c46e7f.tar.gz |
CI: move ccache setup before building anything
otherwise glib/pango end up in the wrong cache dir
Diffstat (limited to '.gitlab-ci')
-rw-r--r-- | .gitlab-ci/test-msys2.sh | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/.gitlab-ci/test-msys2.sh b/.gitlab-ci/test-msys2.sh index bd5627e649..07f01919a7 100644 --- a/.gitlab-ci/test-msys2.sh +++ b/.gitlab-ci/test-msys2.sh @@ -33,6 +33,10 @@ pacman --noconfirm -S --needed \ mingw-w64-$MSYS2_ARCH-gst-plugins-bad \ mingw-w64-$MSYS2_ARCH-shared-mime-info +mkdir -p _ccache +export CCACHE_BASEDIR="$(pwd)" +export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache" + # https://gitlab.gnome.org/GNOME/gtk/-/issues/2243 # https://gitlab.gnome.org/GNOME/gtk/-/issues/3002 @@ -52,10 +56,6 @@ if ! pkg-config --atleast-version=1.45.4 pango; then fi pkg-config --modversion pango -mkdir -p _ccache -export CCACHE_BASEDIR="$(pwd)" -export CCACHE_DIR="${CCACHE_BASEDIR}/_ccache" - # Build ccache --zero-stats ccache --show-stats |