From 0d3e47abdc75697d463d69a1be8d0449fc2cb4a7 Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Tue, 3 Aug 2021 21:33:03 +0100 Subject: ci: Use appropriate concurrency level The appropriate concurrency level is not necessarily the number of available CPUs; limit it to what the runners tell us we should be using. Signed-off-by: Daniel Stone --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4fe9791..c5c7685 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -220,7 +220,8 @@ armv7-debian-container_prep: script: - cd "$BUILDDIR" - meson --prefix="$PREFIX" -Dicon_directory=/usr/share/X11/icons ${MESON_BUILD_TYPE} .. - - ninja -k0 test + - ninja -k0 -j${FDO_CI_CONCURRENT:-4} + - meson test --num-processes ${FDO_CI_CONCURRENT:-4} - ninja clean artifacts: name: wayland-meson-$CI_COMMIT_SHA-$CI_JOB_ID -- cgit v1.2.3-70-g09d2