]> git.ipfire.org Git - thirdparty/git.git/commit
ci: use Meson's new `--slice` option
authorPatrick Steinhardt <ps@pks.im>
Wed, 9 Jul 2025 06:23:42 +0000 (08:23 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 11 Jul 2025 16:56:34 +0000 (09:56 -0700)
commitd3d6493dcf35cc0ffb4ed88da85c3b206f02936a
tree30f89d6ade859d8759d72c24211c980c184a8bb2
parent164cbd679c1bc9daf3176655b007971257bd681d
ci: use Meson's new `--slice` option

As executing our test suite is notoriously slow on Windows we use matrix
jobs in our CI systems to slice up tests and run them via multiple jobs.
On Meson this is done with a comparatively complex PowerShell invocation
as Meson didn't yet have a native way to slice tests like this.

I have upstreamed a new `--slice` option [1] that addresses this use
case though, which has been merged and released with Meson 1.8. Both
GitLab and GitHub CI have Meson 1.8.2 available by now, so let's update
the jobs to use that new option.

[1]: https://github.com/mesonbuild/meson/pull/14092

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