include boringssl build

This commit is contained in:
Alexis La Goutte 2017-10-09 12:26:18 +00:00 committed by Dmitri Tikhonov
parent 8f498c7ceb
commit 327861087d

View file

@ -23,10 +23,21 @@ before_install:
- cmake --version
before_script:
# First build external lib
- ./ci/build_boringssl.sh
- git clone --depth 1 https://boringssl.googlesource.com/boringssl
- cd boringssl
- git checkout chromium-stable
- cmake .
- make -j$(nproc)
- BORINGSSL_SOURCE=$PWD
- mkdir -p $HOME/tmp/boringssl-libs
- cd $HOME/tmp/boringssl-libs
- ln -s $BORINGSSL_SOURCE/ssl/libssl.a
- ln -s $BORINGSSL_SOURCE/crypto/libcrypto.a
#- ./ci/build_boringssl.sh
# configure lsquic
- echo $BORINGSSL_SOURCE
- cmake -DBORINGSSL_INCLUDE=$BORINGSSL_SOURCE/include -DBORINGSSL_LIB=$HOME/tmp/boringssl-libs . script:
- cmake -DBORINGSSL_INCLUDE=$BORINGSSL_SOURCE/include -DBORINGSSL_LIB=$HOME/tmp/boringssl-libs .
script:
# Now build lsquic-client
- make
- make test