aboutsummaryrefslogtreecommitdiffstats
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorDaniel Stone <daniels@collabora.com>2021-08-03 21:33:03 +0100
committerDaniel Stone <daniels@collabora.com>2021-08-04 18:20:27 +0100
commit0d3e47abdc75697d463d69a1be8d0449fc2cb4a7 (patch)
tree10e254d820398dbccb947e0ef1e364e0c05ef872 /.gitlab-ci.yml
parentci: Add release builds (diff)
downloadwayland-0d3e47abdc75697d463d69a1be8d0449fc2cb4a7.tar
wayland-0d3e47abdc75697d463d69a1be8d0449fc2cb4a7.tar.gz
wayland-0d3e47abdc75697d463d69a1be8d0449fc2cb4a7.tar.bz2
wayland-0d3e47abdc75697d463d69a1be8d0449fc2cb4a7.tar.lz
wayland-0d3e47abdc75697d463d69a1be8d0449fc2cb4a7.tar.xz
wayland-0d3e47abdc75697d463d69a1be8d0449fc2cb4a7.tar.zst
wayland-0d3e47abdc75697d463d69a1be8d0449fc2cb4a7.zip
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>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml3
1 files changed, 2 insertions, 1 deletions
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