mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-10 19:50:00 -04:00
Enable runner-specific make concurrency settings
Using fixed make concurrency settings on all runners is not flexible and requires .gitlab-ci.yml to be modified each time tweaking these settings is needed. Use environment variables which are expected to be set by the runner (defaulting to 1 in case they are not set) for controlling make concurrency.
This commit is contained in:
parent
09004c25a8
commit
c330c65e77
1 changed files with 2 additions and 2 deletions
|
|
@ -89,7 +89,7 @@ stages:
|
|||
- ./autogen.sh
|
||||
script:
|
||||
- ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr/local
|
||||
- make -j${BUILD_PARALLEL_JOBS:-2} -k all V=1
|
||||
- make -j${PARALLEL_JOBS_BUILD:-1} -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 -j${TEST_PARALLEL_JOBS:-4} -k test V=1
|
||||
- cd bin/tests && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1
|
||||
artifacts:
|
||||
untracked: true
|
||||
expire_in: '1 week'
|
||||
|
|
|
|||
Loading…
Reference in a new issue