]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
travis: add a build using libressl (from git master)
authorDaniel Stenberg <daniel@haxx.se>
Mon, 7 Sep 2020 09:28:13 +0000 (11:28 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 7 Sep 2020 20:50:15 +0000 (22:50 +0200)
The v3.2.1 tag (latest release atm) results in a broken build.

Closes #5932

.travis.yml
scripts/travis/before_script.sh

index 774ea88c1cfec7209d62119383d985ff653d59cf..2832a9cac4596b7212a7631574ec99447932475c 100644 (file)
@@ -109,6 +109,9 @@ jobs:
         - libpsl-dev
         - libbrotli-dev
         - libzstd-dev
+  - env:
+    - T=novalgrind LIBRESSL=yes C="--with-ssl=$HOME/libressl" LD_LIBRARY_PATH=/home/travis/libressl/lib:/usr/local/lib
+    - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
   - env:
     - T=novalgrind NGTCP2=yes C="--with-ssl=$HOME/ngbuild --with-ngtcp2=$HOME/ngbuild --with-nghttp3=$HOME/ngbuild --enable-alt-svc" NOTESTS=
     - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
index ddadae215703718c6329499e68f70c5fd21e2dbd..842f967a10322aec785948f3e8b4c2158d948f3b 100755 (executable)
@@ -98,6 +98,16 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$OPENSSL3" ]; then
   make install_sw
 fi
 
+if [ "$TRAVIS_OS_NAME" = linux -a "$LIBRESSL" ]; then
+  cd $HOME
+  git clone --depth=1 https://github.com/libressl-portable/portable.git libressl-git
+  cd libressl-git
+  ./autogen.sh
+  ./configure --prefix=$HOME/libressl
+  make
+  make install
+fi
+
 if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
   cd $HOME
   git clone --depth=1 --recursive https://github.com/cloudflare/quiche.git