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.
- ./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
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'