mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 22:45:39 +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:
@@ -4,6 +4,8 @@ variables:
|
|||||||
DOCKER_DRIVER: overlay2
|
DOCKER_DRIVER: overlay2
|
||||||
CI_REGISTRY_IMAGE: oerdnj/bind9
|
CI_REGISTRY_IMAGE: oerdnj/bind9
|
||||||
CCACHE_DIR: "/ccache"
|
CCACHE_DIR: "/ccache"
|
||||||
|
MAKE: make
|
||||||
|
SUDO: ""
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- precheck
|
- precheck
|
||||||
@@ -89,7 +91,7 @@ stages:
|
|||||||
- ./autogen.sh
|
- ./autogen.sh
|
||||||
script:
|
script:
|
||||||
- ./configure --enable-developer --with-libtool --disable-static --with-atf=/usr/local --with-libidn2
|
- ./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:
|
artifacts:
|
||||||
expire_in: '1 hour'
|
expire_in: '1 hour'
|
||||||
untracked: true
|
untracked: true
|
||||||
@@ -98,9 +100,9 @@ stages:
|
|||||||
stage: test
|
stage: test
|
||||||
before_script:
|
before_script:
|
||||||
- rm -rf .ccache
|
- rm -rf .ccache
|
||||||
- bash -x bin/tests/system/ifconfig.sh up
|
- ${SUDO} bash -x bin/tests/system/ifconfig.sh up
|
||||||
script:
|
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:
|
artifacts:
|
||||||
untracked: true
|
untracked: true
|
||||||
expire_in: '1 week'
|
expire_in: '1 week'
|
||||||
@@ -109,9 +111,9 @@ stages:
|
|||||||
.unit_test: &unit_test_job
|
.unit_test: &unit_test_job
|
||||||
stage: test
|
stage: test
|
||||||
before_script:
|
before_script:
|
||||||
- export KYUA_RESULT="$CI_PROJECT_DIR/kyua.results"
|
- export KYUA_RESULT="$(pwd)/kyua.results"
|
||||||
script:
|
script:
|
||||||
- make unit
|
- ${MAKE} unit
|
||||||
after_script:
|
after_script:
|
||||||
- kyua report-html --force --results-file kyua.results --results-filter "" --output kyua_html
|
- kyua report-html --force --results-file kyua.results --results-filter "" --output kyua_html
|
||||||
artifacts:
|
artifacts:
|
||||||
@@ -192,3 +194,29 @@ systemtest:debian:sid:i386:
|
|||||||
<<: *system_test_job
|
<<: *system_test_job
|
||||||
dependencies:
|
dependencies:
|
||||||
- build:debian:sid:i386
|
- 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
|
||||||
|
Reference in New Issue
Block a user