1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-23 16:48:49 -05:00

travis: add a quiche build

Closes #4207
This commit is contained in:
Daniel Stenberg 2019-08-10 23:28:57 +02:00
parent 68fab35c73
commit f81bf5def7
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -97,6 +97,20 @@ matrix:
- *common_packages
- libpsl-dev
- libbrotli-dev
- os: linux
compiler: gcc
dist: xenial
env:
- T=novalgrind BORINGSSL=yes QUICHE="yes" C="--with-ssl=$HOME/boringssl --with-quiche=$home/quiche --enable-alt-svc" LD_LIBRARY_PATH=/home/travis/boringssl/lib:/usr/local/lib
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
addons:
apt:
sources:
- *common_sources
packages:
- *common_packages
- libpsl-dev
- libbrotli-dev
- os: linux
compiler: gcc
dist: xenial
@ -405,11 +419,24 @@ before_script:
cd .. &&
mkdir lib &&
cd lib &&
ln -s ../build/crypto/libcrypto.so . &&
ln -s ../build/ssl/libssl.so . &&
cp ../build/crypto/libcrypto.so . &&
cp ../build/ssl/libssl.so . &&
echo "BoringSSL lib dir: "`pwd` &&
cd ../build &&
make clean && rm -f CMakeCache.txt &&
CXX="g++" CC="gcc" cmake -DCMAKE_POSITION_INDEPENDENT_CODE=on .. &&
make &&
export LIBS=-lpthread )
fi
- |
if [ "$TRAVIS_OS_NAME" = linux -a "$QUICHE" ]; then
(cd $HOME &&
git clone --depth=1 https://github.com/cloudflare/quiche.git &&
curl https://sh.rustup.rs -sSf | sh -s -- -y &&
source $HOME/.cargo/env &&
cd quiche &&
QUICHE_BSSL_PATH=$HOME/boringssl cargo build -v --release)
fi
- |
if [ $TRAVIS_OS_NAME = linux ]; then
if [ ! -e $HOME/wolfssl-4.0.0-stable/Makefile ]; then