summaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2022-12-19 09:08:28 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2022-12-19 09:08:28 +0530
commit64c8da1bdd920a282fd437f366e3910eefe8ceaf (patch)
treecbae26a90ec050c4c3436698ad3665ce3626e6b0 /.gitlab-ci.yml
parent7242408d60a2e532f31e5907c7bc4b48fb5745c5 (diff)
downloadgtk+-64c8da1bdd920a282fd437f366e3910eefe8ceaf.tar.gz
ci: Always update subprojects to latest revision
Otherwise we're not actually updating anything. `meson subprojects download` will skip subprojects that already exist.
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index e6d5ca05e5..fbe70a21ff 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -88,6 +88,7 @@ fedora-x86_64:
- export PATH="$HOME/.local/bin:$PATH"
- pip3 install --user meson~=0.64
- meson subprojects download
+ - meson subprojects update --reset
- mkdir _install
- meson setup
--prefix=${CI_PROJECT_DIR}/_install
@@ -116,6 +117,7 @@ release-build:
- export PATH="$HOME/.local/bin:$PATH"
- pip3 install --user meson~=0.64
- meson subprojects download
+ - meson subprojects update --reset
- meson setup ${COMMON_MESON_FLAGS} ${EXTRA_MESON_FLAGS} ${BACKEND_FLAGS} ${FEATURE_FLAGS} _build
- meson compile -C _build
- .gitlab-ci/run-tests.sh _build x11
@@ -141,6 +143,7 @@ fedora-mingw64:
- export PATH="$HOME/.local/bin:$PATH"
- pip3 install --user meson~=0.64
- meson subprojects download
+ - meson subprojects update --reset
# Test that mingw64-meson still fails. If it has stopped failing, the CI
# will fail and now you should remove the hack that follows this.
- FAILED=false
@@ -168,6 +171,7 @@ installed-tests:
- export PATH="$HOME/.local/bin:$PATH"
- pip3 install --user meson~=0.64
- meson subprojects download
+ - meson subprojects update --reset
- meson setup
--prefix="${CI_PROJECT_DIR}/_installed"
${COMMON_MESON_FLAGS}