]> git.ipfire.org Git - thirdparty/gnutls.git/commitdiff
.gitlab-ci.yml: add fedora-no-liboqs/test
authorDaiki Ueno <ueno@gnu.org>
Thu, 8 Aug 2024 22:07:05 +0000 (07:07 +0900)
committerDaiki Ueno <ueno@gnu.org>
Thu, 8 Aug 2024 22:07:05 +0000 (07:07 +0900)
The new fedora-no-liboqs/test exercises fedora/test without liboqs. In
that case the hybrid-pqc-kx.sh test should be safely skipped.

Signed-off-by: Daiki Ueno <ueno@gnu.org>
.gitlab-ci.yml

index 2efa724dc861f0596564d440b7119da8eb53a381..fd1d5fb5df91155f11a225d021651a9c1ac1a826 100644 (file)
@@ -652,6 +652,25 @@ fedora-abicoverage/test:
       - gnutls-prev-abi.tmp/
       - compat_reports/
 
+fedora-no-liboqs/test:
+  extends:
+    - .test
+    - .fedora
+  dependencies:
+    - fedora/build
+  needs:
+    - fedora/build
+  script:
+    - |
+      cat > /etc/crypto-policies/local.d/gnutls-ktls.config <<EOF
+      [global]
+      ktls = true
+      EOF
+      update-crypto-policies
+      echo "SYSTEM=NORMAL" >> tests/system.prio
+    - dnf remove -y liboqs
+    - make -j$CHECKJOBS check
+
 fedora-cross/bootstrap:
   extends:
     - .bootstrap