]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
zuul: add an mbedtls3 CI job
authorDaniel Stenberg <daniel@haxx.se>
Sun, 8 Aug 2021 21:19:33 +0000 (23:19 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 9 Aug 2021 08:26:11 +0000 (10:26 +0200)
Closes #7544

scripts/zuul/before_script.sh
zuul.d/jobs.yaml

index 7a03e453a24eab369cd632d52dee1fb34c91cc4d..79bdb04b5606318f8bd97d13fd45145ada5bb67e 100755 (executable)
@@ -96,6 +96,14 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$OPENSSL3" ]; then
   make install_sw
 fi
 
+if [ "$TRAVIS_OS_NAME" = linux -a "$MBEDTLS3" ]; then
+  cd $HOME
+  git clone --depth=1 -b v3.0.0 https://github.com/ARMmbed/mbedtls
+  cd mbedtls
+  make
+  make DESTDIR=$HOME/mbedtls3 install
+fi
+
 if [ "$TRAVIS_OS_NAME" = linux -a "$LIBRESSL" ]; then
   cd $HOME
   git clone --depth=1 -b v3.1.4 https://github.com/libressl-portable/portable.git libressl-git
index 1528e43190c4ec20c2b703e385158a7dbfaddb3e..5d26c24b60477ea68f883ba48b6d144e738c6f7c 100644 (file)
         LD_LIBRARY_PATH: "{{ ansible_user_dir }}/openssl3/lib64:/usr/local/lib"
         TFLAGS: https ftps
 
+- job:
+    name: curl-debug-mbedtls3
+    parent: curl-base
+    vars:
+      curl_apt_packages:
+        - libpsl-dev
+        - libbrotli-dev
+        - libzstd-dev
+      curl_env:
+        CC: gcc-8
+        CXX: g++-8
+        T: debug
+        MBEDTLS3: "yes"
+        C: >-
+          --with-mbedtls={{ ansible_user_dir }}/mbedtls3
+        LD_LIBRARY_PATH: "{{ ansible_user_dir }}/mbedtls3/lib:/usr/local/lib"
+        TFLAGS: https ftps
+
 - job:
     name: curl-debug-mesalink
     parent: curl-base
       - curl-novalgrind-ngtcp2-gnutls
       - curl-debug-wolfssl
       - curl-debug-openssl3
+      - curl-debug-mbedtls3
       - curl-debug-mesalink
       - curl-debug-clang-with-openssl
       - curl-debug-clang-disable-alt-svc-with-openssl