]> www.infradead.org Git - users/dwmw2/openconnect.git/commitdiff
Add IBM TSS CI build on Fedora
authorDavid Woodhouse <dwmw2@infradead.org>
Wed, 12 May 2021 20:19:40 +0000 (21:19 +0100)
committerDavid Woodhouse <dwmw2@infradead.org>
Wed, 12 May 2021 21:18:31 +0000 (22:18 +0100)
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
.gitlab-ci.yml

index 22d8ab24eb2cac9cfd2920a0d4af9a701667169a..0ea3c5cd0e4ed68703c2a725aef5e6c82cdf6cd1 100644 (file)
@@ -271,6 +271,31 @@ Fedora/GnuTLS:
     paths:
       - build/tests/*.log
 
+Fedora/GnuTLS/ibmtss:
+  script:
+  - ./autogen.sh
+  - ./configure --with-java --disable-dsa-tests --without-gnutls-version-check --enable-ppp-tests CFLAGS=-g
+  - make tmp-distdir
+  - mkdir build
+  - cd build
+  - TMPDISTDIR=../openconnect-$(git describe --tags | sed s/^v//)
+  - ${TMPDISTDIR}/configure --with-java --disable-dsa-tests --without-gnutls-version-check --enable-ppp-tests --with-gnutls-tss2=ibmtss CFLAGS=-g
+  - make -j4
+# we don't want pppd to invoke any actual connection scripts
+  - mv /etc/ppp /etc/ppp.DISABLED
+# auth-pkcs11: Disable rdrand to work around https://bugzilla.redhat.com/1831086
+  - make VERBOSE=1 OPENSSL_ia32cap=~0x4000000000000000 -j4 check
+  tags:
+  - shared
+  except:
+  - tags
+  - schedules
+  artifacts:
+    expire_in: 1 week
+    when: on_failure
+    paths:
+      - build/tests/*.log
+
 Fedora/GnuTLS/clang:
   script:
   - ./autogen.sh