summaryrefslogtreecommitdiff
path: root/.gitlab-ci
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2019-12-23 09:35:09 +0100
committerMichel Dänzer <michel@daenzer.net>2020-01-06 15:52:24 +0100
commit23b72d8e4b624ffd81a35e3b62be2430051a6ffa (patch)
treee1ae8a184863e0272bb786d5be21d2be226e008a /.gitlab-ci
parent9107a610deb130d0e4ddee92d6ca9a08a8e103f3 (diff)
gitlab-ci: Use -j4 instead of -j$(proc)
The shared GitLab CI runners are configured for jobs making use of up to 4 CPU cores, attempting to use more may overload them. Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Olivier Fourdan <ofourdan@redhat.com>
Diffstat (limited to '.gitlab-ci')
-rw-r--r--.gitlab-ci/debian-install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci/debian-install.sh b/.gitlab-ci/debian-install.sh
index a17bccff2..176396316 100644
--- a/.gitlab-ci/debian-install.sh
+++ b/.gitlab-ci/debian-install.sh
@@ -20,13 +20,13 @@ git clone https://gitlab.freedesktop.org/mesa/piglit.git --depth 1
git clone https://gitlab.freedesktop.org/xorg/test/xts --depth 1
cd xts
./autogen.sh
-xvfb-run make -j$(nproc)
+xvfb-run make -j4
cd ..
git clone https://gitlab.freedesktop.org/xorg/test/rendercheck --depth 1
cd rendercheck
meson build
-ninja -C build install
+ninja -j4 -C build install
cd ..
rm -rf piglit/.git xts/.git