xserver: Branch 'server-21.1-branch'
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon Jun 30 14:06:39 UTC 2025
.gitlab-ci.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 8b5ed211d5d3cea845b41fdff4b8dfcb183ee921
Author: Olivier Fourdan <ofourdan at redhat.com>
Date: Thu Jun 26 10:38:01 2025 +0200
.gitlab-ci: Use meson instead of ninja for running the tests
Using ninja spawns a very high number of concurrent tests (even with
the option '-j').
The CI runs two Xservers, one Xephyr instance running inside an Xvfb
instance.
As a result, running the tests may exhaust the CI server resources and
eventually the CI fails.
meson, however, doesn't seem to suffer the same issue, and the number of
Xserver spawned for the CI tests remains limited.
The master branch already uses meson (after commit ce2f24c51 which uses a
meson-build script instead).
Switch to meson instead of ninja for running the tests.
Signed-off-by: Olivier Fourdan <ofourdan at redhat.com>
Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/2040>
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index d5404c00a..60a57c554 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -75,7 +75,7 @@ meson:
script:
- meson -Dc_args="-fno-common" -Dprefix=/usr -Dxephyr=true -Dwerror=true $MESON_EXTRA_OPTIONS build/
- ninja -j${FDO_CI_CONCURRENT:-4} -C build/ dist
- - PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts ninja -j${FDO_CI_CONCURRENT:-4} -C build/ test
+ - PIGLIT_DIR=/root/piglit XTEST_DIR=/root/xts meson test --num-processes ${FDO_CI_CONCURRENT:-4} -C build/
- .gitlab-ci/manpages-check
meson-noglamor:
More information about the xorg-commit
mailing list