summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2021-08-08 23:19:33 +0200
committerDaniel Stenberg <daniel@haxx.se>2021-08-09 08:34:46 +0200
commit9dedf57be53956bc5ced052bbba979889c8f8b8a (patch)
tree1ee71255d06a19ff7320001f036645baa250551e
parent27625af15dd36470a9180db12786249f3a0de5ce (diff)
downloadcurl-9dedf57be53956bc5ced052bbba979889c8f8b8a.tar.gz
zuul: add an mbedtls3 CI job
-rwxr-xr-xscripts/zuul/before_script.sh8
-rw-r--r--zuul.d/jobs.yaml19
2 files changed, 27 insertions, 0 deletions
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
@@ -246,6 +246,24 @@
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
vars:
@@ -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