travis: add bearssl build

Closes #7133
This commit is contained in:
Michael Forney 2021-05-26 00:16:19 -07:00 committed by Daniel Stenberg
parent 7f9c5af8b3
commit a2fe2f04cd
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 31 additions and 0 deletions

View file

@ -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

View file

@ -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