From f81bf5def751866cc4f1af782fdb29a09bd88cf4 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sat, 10 Aug 2019 23:28:57 +0200 Subject: travis: add a quiche build Closes #4207 --- .travis.yml | 31 +++++++++++++++++++++++++++++-- 1 file changed, 29 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index b002f7555..810ebb8f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 -- cgit v1.2.3