CI: add a Centos 8 container build
authorPeter Hutterer <peter.hutterer@who-t.net>
Thu, 24 Oct 2019 23:50:48 +0000 (09:50 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Fri, 15 Nov 2019 04:47:50 +0000 (14:47 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
.gitlab-ci.yml

index e09c0ea..16aa4a2 100644 (file)
@@ -44,7 +44,7 @@ variables:
   # distribution                                                                #
   ###############################################################################
   FEDORA_RPMS: 'git gcc gcc-c++ automake autoconf libtool make pkgconfig  python3 check-devel valgrind binutils doxygen xz'
-  CENTOS_RPMS: $FEDORA_RPMS
+  CENTOS_RPMS: 'git gcc gcc-c++ automake autoconf libtool make pkgconfig  python3 check-devel valgrind binutils xz'
   UBUNTU_DEBS: 'git gcc g++     automake autoconf libtool make pkg-config python3 check       valgrind binutils doxygen xz-utils'
   DEBIAN_DEBS: $UBUNTU_DEBS
   ARCH_PKGS:   'git gcc         automake autoconf libtool make pkgconfig  python3 check       valgrind binutils doxygen'
@@ -193,6 +193,17 @@ centos:7@container-prep:
     TAG: $CENTOS_TAG
   <<: *pull_upstream_or_rebuild
 
+centos:8@container-prep:
+  extends: .centos@container-build
+  stage: container_prep
+  variables:
+    GIT_STRATEGY: none
+    CENTOS_VERSION: 8
+    DISTRIB_FLAVOR: centos
+    DISTRIB_VERSION: $CENTOS_VERSION
+    TAG: $CENTOS_TAG
+  <<: *pull_upstream_or_rebuild
+
 arch:rolling@container-prep:
   extends: .arch@container-build
   stage: container_prep
@@ -344,6 +355,13 @@ centos:7@container-clean:
     CENTOS_VERSION: 7
     CURRENT_CONTAINER_IMAGE: $CENTOS_CONTAINER_IMAGE
 
+centos:8@container-clean:
+  extends: .container-clean
+  variables:
+    GIT_STRATEGY: none
+    CENTOS_VERSION: 8
+    CURRENT_CONTAINER_IMAGE: $CENTOS_CONTAINER_IMAGE
+
 arch:rolling@container-clean:
   extends: .container-clean
   variables:
@@ -400,6 +418,13 @@ centos:7@default-build:
     CENTOS_VERSION: 7
   needs: ['centos:7@container-prep']
 
+centos:8@default-build:
+  extends: .centos-build@template
+  variables:
+    CENTOS_VERSION: 8
+    MAKE_ARGS: ''  # disable distcheck, requires doxygen
+  needs: ['centos:8@container-prep']
+
 .ubuntu@template:
   stage: distro
   extends: .build@template