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 <daniels@collabora.com>
This commit is contained in:
Daniel Stone 2021-08-03 21:33:03 +01:00
parent 71ff5fe0af
commit 0d3e47abdc

View file

@ -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