2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 06:25:31 +00:00

more CI speedup experiments

- turn off some of the build tests
- increase test threads to 8
- build with --disable-static
- suppress the non-system tests under bin/tests (timers, task, etc)
This commit is contained in:
Evan Hunt
2018-02-23 10:47:04 -08:00
parent 5d7d6881a1
commit 0d784de16a
2 changed files with 28 additions and 26 deletions

View File

@@ -85,7 +85,7 @@ stages:
before_script:
- ./autogen.sh
script:
- ./configure --with-libtool
- ./configure --with-libtool --disable-static
- make -j6 -k all V=1
artifacts:
expire_in: '1 hour'
@@ -96,27 +96,35 @@ stages:
before_script:
- bash -x bin/tests/system/ifconfig.sh up
script:
- make -j6 -k check V=1
- make -j8 -k check V=1
artifacts:
untracked: true
expire_in: '1 week'
when: on_failure
build:debian:jessie:amd64:
<<: *debian_jessie_amd64_image
<<: *build_job
build:debian:jessie:i386:
<<: *debian_jessie_i386_image
<<: *build_job
build:debian:stretch:amd64:
<<: *debian_stretch_amd64_image
<<: *build_job
build:debian:buster:i386:
<<: *debian_buster_i386_image
<<: *build_job
#build:debian:jessie:amd64:
# <<: *debian_jessie_amd64_image
# <<: *build_job
#
#build:debian:jessie:i386:
# <<: *debian_jessie_i386_image
# <<: *build_job
#
#build:debian:stretch:amd64:
# <<: *debian_stretch_amd64_image
# <<: *build_job
#
#build:debian:buster:i386:
# <<: *debian_buster_i386_image
# <<: *build_job
#
#build:ubuntu:trusty:amd64:
# <<: *ubuntu_trusty_amd64_image
# <<: *build_job
#
#build:ubuntu:xenial:i386:
# <<: *ubuntu_xenial_i386_image
# <<: *build_job
build:debian:sid:amd64:
<<: *debian_sid_amd64_image
@@ -137,11 +145,3 @@ test:debian:sid:i386:
<<: *test_job
dependencies:
- build:debian:sid:i386
build:ubuntu:trusty:amd64:
<<: *ubuntu_trusty_amd64_image
<<: *build_job
build:ubuntu:xenial:i386:
<<: *ubuntu_xenial_i386_image
<<: *build_job

View File

@@ -36,6 +36,8 @@ SUBDIRS = atomic db dst master mem hashes names \
net rbt resolver sockaddr tasks timers system \
@PKCS11_TOOLS@
TESTDIRS = system
# Test programs that are built by default:
# cfg_test is needed for regenerating doc/misc/options
# makejournal is needed by system tests
@@ -282,7 +284,7 @@ clean distclean::
check: test
test:
@for dir in $(SUBDIRS) ;\
@for dir in $(TESTDIRS) ;\
do \
( cd $$dir; $(MAKE) test ) ;\
done