]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
travis: add a CI job with openssl3 (from git master)
authorDaniel Stenberg <daniel@haxx.se>
Wed, 2 Sep 2020 13:48:18 +0000 (15:48 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 3 Sep 2020 05:57:20 +0000 (07:57 +0200)
Closes #5908

.travis.yml
scripts/travis/before_script.sh

index 503d1ced60b75b44da7af5c798211894eef35ab9..774ea88c1cfec7209d62119383d985ff653d59cf 100644 (file)
@@ -152,6 +152,17 @@ jobs:
         - libpsl-dev
         - libbrotli-dev
         - libzstd-dev
+  - env:
+    - T=debug OPENSSL3="yes" C="--with-ssl=$HOME/openssl3" LD_LIBRARY_PATH=/home/travis/openssl3/lib:/usr/local/lib
+    - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+    addons:
+      apt:
+        <<: *common_apt
+        packages:
+        - *common_packages
+        - libpsl-dev
+        - libbrotli-dev
+        - libzstd-dev
   - env:
     - T=debug-mesalink C="--with-mesalink --without-ssl" MESALINK=yes
     - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
index e8bf719509321d441ddb32d88f14dc5638f3d67a..ddadae215703718c6329499e68f70c5fd21e2dbd 100755 (executable)
@@ -89,6 +89,15 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$BORINGSSL" ]; then
   export LIBS=-lpthread
 fi
 
+if [ "$TRAVIS_OS_NAME" = linux -a "$OPENSSL3" ]; then
+  cd $HOME
+  git clone --depth=1 https://github.com/openssl/openssl
+  cd openssl
+  ./config enable-tls1_3 --prefix=$HOME/openssl3
+  make
+  make install_sw
+fi
+
 if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
   cd $HOME
   git clone --depth=1 --recursive https://github.com/cloudflare/quiche.git