From 810cbde0bc0fe9eb529a46d8e26dca2bcb10cee5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20K=C4=99pie=C5=84?= Date: Fri, 25 Oct 2019 16:56:32 +0200 Subject: [PATCH] Add CentOS 8 to GitLab CI Ensure BIND can be tested on CentOS 8 in GitLab CI to more quickly catch build and test errors on that operating system. (cherry picked from commit dce1c05042c840e7a3ea539ad864a54f2eb4a929) --- .gitlab-ci.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f5c8e376ff..9bb5b133f0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -68,6 +68,10 @@ stages: image: "$CI_REGISTRY_IMAGE:centos-centos7-amd64" <<: *linux_amd64 +.centos-centos8-amd64: ¢os_centos8_amd64_image + image: "$CI_REGISTRY_IMAGE:centos-centos8-amd64" + <<: *linux_amd64 + # Debian .debian-jessie-amd64: &debian_jessie_amd64_image @@ -410,6 +414,30 @@ unit:gcc:centos7:amd64: - gcc:centos7:amd64 needs: ["gcc:centos7:amd64"] +# Jobs for regular GCC builds on CentOS 8 (amd64) + +gcc:centos8:amd64: + variables: + CC: gcc + CFLAGS: "-Wall -Wextra -O2 -g" + EXTRA_CONFIGURE: "--with-libidn2" + <<: *centos_centos8_amd64_image + <<: *build_job + +system:gcc:centos8:amd64: + <<: *centos_centos8_amd64_image + <<: *system_test_job + dependencies: + - gcc:centos8:amd64 + needs: ["gcc:centos8:amd64"] + +unit:gcc:centos8:amd64: + <<: *centos_centos8_amd64_image + <<: *unit_test_job + dependencies: + - gcc:centos8:amd64 + needs: ["gcc:centos8:amd64"] + # Jobs for regular GCC builds on Debian 8 Jessie (amd64) gcc:jessie:amd64: