From 9dedf57be53956bc5ced052bbba979889c8f8b8a Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 8 Aug 2021 23:19:33 +0200 Subject: zuul: add an mbedtls3 CI job --- scripts/zuul/before_script.sh | 8 ++++++++ zuul.d/jobs.yaml | 19 +++++++++++++++++++ 2 files changed, 27 insertions(+) diff --git a/scripts/zuul/before_script.sh b/scripts/zuul/before_script.sh index 7a03e453a..c1b3d1eb9 100755 --- a/scripts/zuul/before_script.sh +++ b/scripts/zuul/before_script.sh @@ -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 +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 diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 1528e4319..5d26c24b6 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -245,6 +245,24 @@ 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 @@ -545,6 +563,7 @@ - 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 -- cgit v1.2.1