diff options
author | Daniel Stenberg <daniel@haxx.se> | 2019-08-10 23:28:57 +0200 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-08-15 16:08:08 +0200 |
commit | 774cbe687167a73501095b8ce336127c36119351 (patch) | |
tree | f741ae5c27620f7df79276459ca289516da4d386 | |
parent | 0b1e74b6b1e0b2c1988d0a5aa7dfc5b8c3295cbd (diff) | |
download | curl-bagder/travis-quiche.tar.gz |
travis: add a quiche buildbagder/travis-quiche
Closes #4207
-rw-r--r-- | .travis.yml | 31 |
1 files changed, 29 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index b002f7555..810ebb8f2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -101,6 +101,20 @@ matrix: 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 + env: - T=debug-wolfssl C="--with-wolfssl --without-ssl" - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8" addons: @@ -405,12 +419,25 @@ 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 (cd $HOME && \ |