BUILD_IMAGES_PROJECT: openconnect/build-images
CENTOS7_BUILD: openconnect-cli-centos7
CENTOS8_BUILD: openconnect-cli-centos8
+ CENTOS9_BUILD: openconnect-cli-centos9
FEDORA_BUILD: openconnect-cli-fedora38
MINGW32_BUILD: openconnect-cli-mingw32
MINGW64_BUILD: openconnect-cli-mingw64
paths:
- tests/*.log
+CentOS9/GnuTLS:
+ stage: test-rest
+ image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$CENTOS9_BUILD
+ script:
+ - ./autogen.sh
+ - ./configure --with-java --without-gnutls-version-check --disable-dsa-tests --enable-ppp-tests CFLAGS=-g
+ - make -j4
+# For reasons that are unclear, but probably also unimportant, IPv6 is disabled by default on this CI
+# image (verified in https://gitlab.com/openconnect/openconnect/-/jobs/1135199323#L335), and this will
+# cause PPP tests using IPv6 to fail. So we must explicitly enable IPv6:
+ - sysctl net.ipv6.conf.all.disable_ipv6=0
+# we don't want pppd to invoke any actual connection scripts
+ - mv /etc/ppp /etc/ppp.DISABLED
+# auth-nonascii: UTF-8 support is not available in distro's ocserv package
+# ppp-over-tls-sync: https://gitlab.com/openconnect/openconnect/-/issues/287#note_641198529)
+ - make VERBOSE=1 XFAIL_TESTS="auth-nonascii ppp-over-tls-sync" -j4 check
+ tags:
+ - shared
+ except:
+ - tags
+ - schedules
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - tests/*.log
+
+CentOS9/OpenSSL:
+ stage: test-rest
+ image: $CI_REGISTRY/$BUILD_IMAGES_PROJECT:$CENTOS9_BUILD
+ script:
+ - ./autogen.sh
+ - ./configure --without-gnutls --with-openssl --with-java --without-openssl-version-check --disable-dsa-tests --enable-ppp-tests CFLAGS=-g
+ - make -j4
+# For reasons that are unclear, but probably also unimportant, IPv6 is disabled by default on this CI
+# image (verified in https://gitlab.com/openconnect/openconnect/-/jobs/1135199323#L335), and this will
+# cause PPP tests using IPv6 to fail. So we must explicitly enable IPv6:
+ - sysctl net.ipv6.conf.all.disable_ipv6=0
+# we don't want pppd to invoke any actual connection scripts
+ - mv /etc/ppp /etc/ppp.DISABLED
+# auth-nonascii: UTF-8 support is not available in distro's ocserv package
+# ppp-over-tls-sync: https://gitlab.com/openconnect/openconnect/-/issues/287#note_641198529)
+# obsolete-server-crypto: unknown why the legacy openssl provider is not sufficient
+ - make VERBOSE=1 XFAIL_TESTS="auth-nonascii ppp-over-tls-sync obsolete-server-crypto" -j4 check
+ tags:
+ - shared
+ except:
+ - tags
+ - schedules
+ artifacts:
+ expire_in: 1 week
+ when: on_failure
+ paths:
+ - tests/*.log
+
Fedora/GnuTLS/ibmtss:
stage: test-rest
script: