]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add PKCS11 testing with Clang on Debian 11
authorMichal Nowak <mnowak@isc.org>
Mon, 14 Aug 2023 13:03:03 +0000 (15:03 +0200)
committerMichal Nowak <mnowak@isc.org>
Mon, 21 Aug 2023 16:02:06 +0000 (18:02 +0200)
.gitlab-ci.yml

index 6e66bf06624fe55cac261bef58ff2ea36b7b76c1..ff6ecbb3a2a25517f354d08846398fca915b77d7 100644 (file)
@@ -1220,7 +1220,31 @@ unit:clang:bookworm:amd64:
     - job: clang:bookworm:amd64
       artifacts: true
 
-# Jobs for PKCS#11-enabled GCC builds on Debian 12 "bookworm" (amd64)
+# Jobs for PKCS#11-enabled builds
+
+clang:softhsm2.6:
+  variables:
+    CC: "${CLANG}"
+    CFLAGS: "${CFLAGS_COMMON} -O1"
+    EXTRA_CONFIGURE: "--with-libidn2 --enable-native-pkcs11 --with-pkcs11=/usr/lib/softhsm/libsofthsm2.so"
+  <<: *debian_bullseye_amd64_image
+  <<: *build_job
+
+system:clang:softhsm2.6:
+  variables:
+    DISABLE_ALGORITHM_SUPPORT_CHECKING: 1
+  <<: *debian_bullseye_amd64_image
+  <<: *system_test_job
+  needs:
+    - job: clang:softhsm2.6
+      artifacts: true
+
+unit:clang:softhsm2.6:
+  <<: *debian_bullseye_amd64_image
+  <<: *unit_test_job
+  needs:
+    - job: clang:softhsm2.6
+      artifacts: true
 
 gcc:softhsm2.6:
   variables: