gitlab-ci: limit ninja to 4 threads max
authorEric Engestrom <eric.engestrom@intel.com>
Wed, 13 Feb 2019 14:25:45 +0000 (14:25 +0000)
committerEric Engestrom <eric.engestrom@intel.com>
Wed, 13 Feb 2019 16:15:43 +0000 (16:15 +0000)
I tried bumping the limit on make and scons instead, but that just
thrashed the runners, so let's not do that (sorry @daniels :]).

Instead, remove the automatic thread management from ninja and limit it
to 4 instead, in line with make and scons.

Signed-off-by: Eric Engestrom <eric.engestrom@intel.com>
.gitlab-ci.yml

index f0e16cf1c28ace1873d59b8b428e2217fb59a79a..9e1a32f7a0af3fecc221b973609717bd0b4444ac 100644 (file)
@@ -89,7 +89,7 @@ containers:ubuntu:
     - cd _build
     - meson configure
   script:
-    - ninja
+    - ninja -j4
     - ninja test
 
 .make-build: