]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add CentOS 8 to GitLab CI
authorMichał Kępień <michal@isc.org>
Fri, 25 Oct 2019 14:56:32 +0000 (16:56 +0200)
committerMichał Kępień <michal@isc.org>
Fri, 25 Oct 2019 14:56:32 +0000 (16:56 +0200)
Ensure BIND can be tested on CentOS 8 in GitLab CI to more quickly catch
build and test errors on that operating system.

.gitlab-ci.yml

index 5400d1bb852080284c615e56bec3648f070f74ca..ba73dbe835c95a7289a871a50ee0fb65ca6131b6 100644 (file)
@@ -68,6 +68,10 @@ stages:
   image: "$CI_REGISTRY_IMAGE:centos-centos7-amd64"
   <<: *linux_amd64
 
+.centos-centos8-amd64: &centos_centos8_amd64_image
+  image: "$CI_REGISTRY_IMAGE:centos-centos8-amd64"
+  <<: *linux_amd64
+
 # Debian
 
 .debian-jessie-amd64: &debian_jessie_amd64_image
@@ -409,6 +413,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: