Commit 01d41d5b authored by Ondřej Surý's avatar Ondřej Surý

chg: dev: Improve GitLab CI build checking to build on all docker images, but...

chg: dev: Improve GitLab CI build checking to build on all docker images, but run system tests only on debian/sid amd64+i386

Merge branch '72-build-but-not-test-on-most-combinations' into 'master'

Closes #72

See merge request !44
parents 14388a4a bdff3aeb
Pipeline #277 canceled with stages
......@@ -6,6 +6,7 @@ variables:
stages:
- build
- test
.debian-jessie-amd64: &debian_jessie_amd64_image
image: "$CI_REGISTRY_IMAGE:debian-jessie-amd64"
......@@ -82,100 +83,65 @@ stages:
.build: &build_job
stage: build
before_script:
- whoami
- ip a s
- ip r s
- bash -x bin/tests/system/ifconfig.sh up
- ./autogen.sh
script:
- ./configure
- ./configure --with-libtool
- make -k all V=1
artifacts:
expire_in: '1 hour'
untracked: true
.test: &test_job
stage: test
before_script:
- bash -x bin/tests/system/ifconfig.sh up
script:
- make -k check V=1
artifacts:
paths:
- bin/named/named
- bin/tests/
expire_in: '1 day'
untracked: true
expire_in: '1 week'
when: on_failure
build:debian:jessie:amd64:
<<: *debian_jessie_amd64_image
<<: *build_job
only:
- master
- tags
- triggers
- schedules
- /^v9_.*$/
build:debian:jessie:i386:
<<: *debian_jessie_i386_image
<<: *build_job
only:
- master
- tags
- triggers
- schedules
- /^v9_.*$/
build:debian:stretch:amd64:
<<: *debian_stretch_amd64_image
<<: *build_job
only:
- master
- tags
- triggers
- schedules
- /^v9_.*$/
build:debian:buster:i386:
<<: *debian_buster_i386_image
<<: *build_job
only:
- master
- tags
- triggers
- schedules
- /^v9_.*$/
build:debian:sid:amd64:
<<: *debian_sid_amd64_image
<<: *build_job
only:
- master
- tags
- triggers
- schedules
- /^v9_.*$/
- branches
build:debian:sid:i386:
<<: *debian_sid_i386_image
<<: *build_job
only:
- master
- tags
- triggers
- schedules
- /^v9_.*$/
- branches
test:debian:sid:amd64:
<<: *debian_sid_amd64_image
<<: *test_job
dependencies:
- build:debian:sid:amd64
test:debian:sid:i386:
<<: *debian_sid_i386_image
<<: *test_job
dependencies:
- build:debian:sid:i386
build:ubuntu:trusty:amd64:
<<: *ubuntu_trusty_amd64_image
<<: *build_job
only:
- master
- tags
- triggers
- schedules
- /^v9_.*$/
build:ubuntu:xenial:i386:
<<: *ubuntu_xenial_i386_image
<<: *build_job
only:
- master
- tags
- triggers
- schedules
- /^v9_.*$/
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment