]> git.ipfire.org Git - thirdparty/git.git/commitdiff
gitlab-ci: use "run-test-slice-meson.sh"
authorPatrick Steinhardt <ps@pks.im>
Thu, 19 Feb 2026 06:25:32 +0000 (07:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Feb 2026 18:22:31 +0000 (10:22 -0800)
While our GitHub workflow already uses "ci/run-test-slice-meson.sh",
GitLab CI open-codes the parameters. Adapt the latter to also use the
same script so that we always use the same Meson options across both CI
systems.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.gitlab-ci.yml

index b419a84e2cc6609c0525993411e80b6265ac538b..04857b479d1e18f7934f14340a49cdfe9f8b9011 100644 (file)
@@ -183,7 +183,8 @@ test:msvc-meson:
     - job: "build:msvc-meson"
       artifacts: true
   script:
-    - meson test -C build --no-rebuild --print-errorlogs --slice $Env:CI_NODE_INDEX/$Env:CI_NODE_TOTAL
+    - |
+      & "C:/Program Files/Git/usr/bin/bash.exe" -l -c 'ci/run-test-slice-meson.sh build $CI_NODE_INDEX $CI_NODE_TOTAL'
   parallel: 10
   artifacts:
     reports: