2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 05:57:52 +00:00

Merge branch 'gitlab-ci-freebsd11' into 'master'

Add FreeBSD 11 to GitLab CI

See merge request isc-projects/bind9!184
This commit is contained in:
Ondřej Surý 2018-04-09 10:43:22 -04:00
commit f595ab93eb

View File

@ -4,6 +4,8 @@ variables:
DOCKER_DRIVER: overlay2
CI_REGISTRY_IMAGE: oerdnj/bind9
CCACHE_DIR: "/ccache"
MAKE: make
SUDO: ""
stages:
- precheck
@ -89,7 +91,7 @@ stages:
- ./autogen.sh
script:
- ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr/local --with-libidn2
- make -j${PARALLEL_JOBS_BUILD:-1} -k all V=1
- ${MAKE} -j${PARALLEL_JOBS_BUILD:-1} -k all V=1
artifacts:
expire_in: '1 hour'
untracked: true
@ -98,9 +100,9 @@ stages:
stage: test
before_script:
- rm -rf .ccache
- bash -x bin/tests/system/ifconfig.sh up
- ${SUDO} bash -x bin/tests/system/ifconfig.sh up
script:
- cd bin/tests && make -j${TEST_PARALLEL_JOBS:-1} -k test V=1
- cd bin/tests && ${MAKE} -j${TEST_PARALLEL_JOBS:-1} -k test V=1
artifacts:
untracked: true
expire_in: '1 week'
@ -109,9 +111,9 @@ stages:
.unit_test: &unit_test_job
stage: test
before_script:
- export KYUA_RESULT="$CI_PROJECT_DIR/kyua.results"
- export KYUA_RESULT="$(pwd)/kyua.results"
script:
- make unit
- ${MAKE} unit
after_script:
- kyua report-html --force --results-file kyua.results --results-filter "" --output kyua_html
artifacts:
@ -192,3 +194,29 @@ systemtest:debian:sid:i386:
<<: *system_test_job
dependencies:
- build:debian:sid:i386
# FreeBSD 11
.freebsd11-amd64: &freebsd11_amd64_image
variables:
MAKE: gmake
SUDO: sudo
tags:
- freebsd11
- amd64
build:freebsd11:amd64:
<<: *freebsd11_amd64_image
<<: *build_job
unittest:freebsd11:amd64:
<<: *freebsd11_amd64_image
<<: *unit_test_job
dependencies:
- build:freebsd11:amd64
systemtest:debian:sid:amd64:
<<: *freebsd11_amd64_image
<<: *system_test_job
dependencies:
- build:freebsd11:amd64