Skip to content

Commit 6f42e3b

Browse files
committed
travis: add a build using libressl (from git master)
The v3.2.1 tag (latest release atm) results in a broken build. Closes curl#5932
1 parent 8684bb7 commit 6f42e3b

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

.travis.yml

+3
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,9 @@ jobs:
109109
- libpsl-dev
110110
- libbrotli-dev
111111
- libzstd-dev
112+
- env:
113+
- T=novalgrind LIBRESSL=yes C="--with-ssl=$HOME/libressl" LD_LIBRARY_PATH=/home/travis/libressl/lib:/usr/local/lib
114+
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
112115
- env:
113116
- T=novalgrind NGTCP2=yes C="--with-ssl=$HOME/ngbuild --with-ngtcp2=$HOME/ngbuild --with-nghttp3=$HOME/ngbuild --enable-alt-svc" NOTESTS=
114117
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"

scripts/travis/before_script.sh

+10
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,16 @@ if [ "$TRAVIS_OS_NAME" = linux -a "$OPENSSL3" ]; then
9898
make install_sw
9999
fi
100100

101+
if [ "$TRAVIS_OS_NAME" = linux -a "$LIBRESSL" ]; then
102+
cd $HOME
103+
git clone --depth=1 https://github.com/libressl-portable/portable.git libressl-git
104+
cd libressl-git
105+
./autogen.sh
106+
./configure --prefix=$HOME/libressl
107+
make
108+
make install
109+
fi
110+
101111
if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
102112
cd $HOME
103113
git clone --depth=1 --recursive https://github.com/cloudflare/quiche.git

0 commit comments

Comments
 (0)