diff options
author | Michael Forney <mforney@mforney.org> | 2021-05-26 00:16:19 -0700 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-05-26 14:43:56 +0200 |
commit | a2fe2f04cd7cb666b2c103f898f6147239be3041 (patch) | |
tree | 8cbb0880b3caa9490341813ae059b3266ffa2b59 /scripts | |
parent | 7f9c5af8b3c905ae9f96ab16b92049548ca407fb (diff) | |
download | curl-a2fe2f04cd7cb666b2c103f898f6147239be3041.tar.gz |
travis: add bearssl build
Closes #7133
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/travis/before_script.sh | 14 | ||||
-rwxr-xr-x | scripts/travis/script.sh | 6 |
2 files changed, 20 insertions, 0 deletions
diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh index 96825f0ab..1bb76f4bc 100755 --- a/scripts/travis/before_script.sh +++ b/scripts/travis/before_script.sh @@ -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 diff --git a/scripts/travis/script.sh b/scripts/travis/script.sh index a824c1b1e..f2286850d 100755 --- a/scripts/travis/script.sh +++ b/scripts/travis/script.sh @@ -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 |