]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Add CentOS8 CI
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 22 Apr 2020 15:57:59 +0000 (16:57 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Thu, 23 Apr 2020 12:29:55 +0000 (13:29 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
.gitlab-ci.yml

index 3a010a0dad4ca3bc567df849a8ab472ca1cc36ef..264c131f0c08a08e1274a7421b954873a4d1ce6a 100644 (file)
@@ -54,6 +54,55 @@ CentOS7/OpenSSL:
     paths:
       - tests/*.log
 
+CentOS8/GnuTLS:
+  image: centos:8
+  script:
+  - yum update -y
+  - yum install -y epel-release
+  - yum install -y git autoconf automake libtool python36 gettext
+    'pkgconfig(openssl)' 'pkgconfig(libxml-2.0)' 'pkgconfig(liblz4)'
+    'pkgconfig(gnutls)' 'pkgconfig(liboath)' 'pkgconfig(stoken)' ocserv
+    vpnc-script 'pkgconfig(libpskc)' file make
+    java-devel-openjdk iproute iputils nuttcp
+  - ./autogen.sh
+  - ./configure --with-java --without-gnutls-version-check CFLAGS=-g
+  - make -j4
+# Until we get a GnuTLS with the client random bug fixed, DTLS fails
+  - make VERBOSE=1 XFAIL_TESTS="sigterm dtls-psk" -j4 check
+  tags:
+  - shared
+  except:
+  - tags
+  artifacts:
+    expire_in: 1 week
+    when: on_failure
+    paths:
+      - tests/*.log
+
+CentOS8/OpenSSL:
+  image: centos:8
+  script:
+  - yum update -y
+  - yum install -y epel-release
+  - yum install -y git autoconf automake libtool python36 gettext
+    'pkgconfig(openssl)' 'pkgconfig(libxml-2.0)' 'pkgconfig(liblz4)'
+    'pkgconfig(gnutls)' 'pkgconfig(liboath)' 'pkgconfig(stoken)' ocserv
+    vpnc-script 'pkgconfig(libpskc)' file make
+    java-devel-openjdk iproute iputils nuttcp
+  - ./autogen.sh
+  - ./configure --without-gnutls --with-openssl --with-java --without-openssl-version-check --disable-dsa-tests CFLAGS=-g
+  - make -j4
+  - make VERBOSE=1 -j4 check
+  tags:
+  - shared
+  except:
+  - tags
+  artifacts:
+    expire_in: 1 week
+    when: on_failure
+    paths:
+      - tests/*.log
+
 CentOS6/OpenSSL:
   image: centos:6
   script: