]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Use runner specific make parallel build settings
authorOndřej Surý <ondrej@sury.org>
Fri, 9 Mar 2018 13:30:19 +0000 (09:30 -0400)
committerOndřej Surý <ondrej@sury.org>
Fri, 9 Mar 2018 14:11:27 +0000 (10:11 -0400)
.gitlab-ci.yml

index b4685ae71c35f295f3c6e8980034fbfed3492a5e..2399b6a60deb4b55ba3e542b5650e801afeeedb1 100644 (file)
@@ -89,7 +89,7 @@ stages:
     - ./autogen.sh
   script:
     - ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr/local
-    - make -j6 -k all V=1
+    - make -j${BUILD_PARALLEL_JOBS:-2} -k all V=1
   artifacts:
     expire_in: '1 hour'
     untracked: true
@@ -99,7 +99,7 @@ stages:
   before_script:
     - bash -x bin/tests/system/ifconfig.sh up
   script:
-    - cd bin/tests && make -j8 -k test V=1
+    - cd bin/tests && make -j${TEST_PARALLEL_JOBS:-4} -k test V=1
   artifacts:
     untracked: true
     expire_in: '1 week'