mirror of
https://github.com/curl/curl.git
synced 2025-02-17 14:59:45 +08:00
parent
7f9c5af8b3
commit
a2fe2f04cd
11
.travis.yml
11
.travis.yml
@ -26,6 +26,7 @@ cache:
|
||||
directories:
|
||||
- $HOME/wolfssl-4.7.0-stable
|
||||
- $HOME/mesalink-1.0.0
|
||||
- $HOME/bearssl-0.6
|
||||
|
||||
env:
|
||||
global:
|
||||
@ -134,6 +135,16 @@ jobs:
|
||||
- libpsl-dev
|
||||
- libbrotli-dev
|
||||
- libzstd-dev
|
||||
- env:
|
||||
- T=debug-bearssl C="--with-bearssl" BEARSSL="yes"
|
||||
addons:
|
||||
apt:
|
||||
<<: *common_apt
|
||||
packages:
|
||||
- *common_packages
|
||||
- libpsl-dev
|
||||
- libbrotli-dev
|
||||
- libzstd-dev
|
||||
- env:
|
||||
- T=novalgrind LIBRESSL=yes C="--with-openssl=$HOME/libressl" LD_LIBRARY_PATH=/home/travis/libressl/lib:/usr/local/lib
|
||||
- OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
|
||||
|
@ -175,4 +175,18 @@ if [ $TRAVIS_OS_NAME = linux ]; then
|
||||
sudo make install
|
||||
|
||||
fi
|
||||
|
||||
if [ "$BEARSSL" = "yes" ]; then
|
||||
if [ ! -e $HOME/bearssl-0.6/Makefile ]; then
|
||||
cd $HOME
|
||||
curl -LO https://bearssl.org/bearssl-0.6.tar.gz
|
||||
tar -xzf bearssl-0.6.tar.gz
|
||||
cd bearssl-0.6
|
||||
make
|
||||
fi
|
||||
cd $HOME/bearssl-0.6
|
||||
sudo cp inc/*.h /usr/local/include
|
||||
sudo cp build/libbearssl.* /usr/local/lib
|
||||
fi
|
||||
|
||||
fi
|
||||
|
@ -76,6 +76,12 @@ if [ "$T" = "debug-rustls" ]; then
|
||||
make "TFLAGS=HTTPS !313" test-nonflaky
|
||||
fi
|
||||
|
||||
if [ "$T" = "debug-bearssl" ]; then
|
||||
./configure --enable-debug --enable-werror $C
|
||||
make
|
||||
make "TFLAGS=-n !313" test-nonflaky
|
||||
fi
|
||||
|
||||
if [ "$T" = "novalgrind" ]; then
|
||||
./configure --enable-werror $C
|
||||
make
|
||||
|
Loading…
Reference in New Issue
Block a user