gnunet-svn
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[GNUnet-SVN] [gnurl] 155/178: travis: add a build using WolfSSL


From: gnunet
Subject: [GNUnet-SVN] [gnurl] 155/178: travis: add a build using WolfSSL
Date: Wed, 23 May 2018 12:26:30 +0200

This is an automated email from the git hooks/post-receive script.

ng0 pushed a commit to branch master
in repository gnurl.

commit 3c42fb8d46e1e0833854a1000b63d6eea71315c2
Author: Daniel Stenberg <address@hidden>
AuthorDate: Tue Apr 24 16:16:25 2018 +0200

    travis: add a build using WolfSSL
    
    Assisted-by: Dan Fandrich
    
    Closes #2528
---
 .travis.yml | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/.travis.yml b/.travis.yml
index 3235ae39a..172e1fd52 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,6 +5,7 @@ cache:
         - $HOME/libpsl-0.20.1
         - $HOME/mbedtls-mbedtls-2.8.0
         - $HOME/libidn2-2.0.4
+        - $HOME/wolfssl-3.14.0-stable
 
 env:
     global:
@@ -60,7 +61,11 @@ matrix:
         - os: linux
           compiler: gcc
           dist: trusty
-          env: T=novalgrind BORINGSSL=yes -C="--with-ssl=$HOME/boringssl" 
LD_LIBRARY_PATH=/home/travis/boringssl/lib:/usr/local/lib
+          env: T=novalgrind BORINGSSL=yes C="--with-ssl=$HOME/boringssl" 
LD_LIBRARY_PATH=/home/travis/boringssl/lib:/usr/local/lib
+        - os: linux
+          compiler: gcc
+          dist: trusty
+          env: T=debug-wolfssl C="--with-wolfssl --without-ssl"
         - os: linux
           compiler: clang
           dist: trusty
@@ -192,9 +197,23 @@ before_script:
       fi
     - |
       if [ $TRAVIS_OS_NAME = linux ]; then
+        if [ ! -e $HOME/wolfssl-3.14.0-stable/Makefile ]; then
+          (cd $HOME && \
+          curl -LO 
https://github.com/wolfSSL/wolfssl/archive/v3.14.0-stable.tar.gz && \
+          tar -xzf v3.14.0-stable.tar.gz && \
+          cd wolfssl-3.14.0-stable && \
+          ./autogen.sh && \
+          ./configure --enable-tls13 --enable-all && \
+          touch wolfssl/wolfcrypt/fips.h && \
+          make)
+        fi
+      fi
+    - |
+      if [ $TRAVIS_OS_NAME = linux ]; then
         (cd $HOME/libidn2-2.0.4 && sudo make install)
         (cd $HOME/libpsl-0.20.1 && sudo make install)
         (cd $HOME/mbedtls-mbedtls-2.8.0 && sudo make install)
+        (cd $HOME/wolfssl-3.14.0-stable && sudo make install)
       fi
 
 script:
@@ -221,6 +240,13 @@ script:
         fi
     - |
         set -eo pipefail
+        if [ "$T" = "debug-wolfssl" ]; then
+             ./configure --enable-debug --enable-werror $C
+             make
+             make "TFLAGS=-n !311 !313" test-nonflaky
+        fi
+    - |
+        set -eo pipefail
         if [ "$T" = "novalgrind" ]; then
              ./configure $C
              make && make examples

-- 
To stop receiving notification emails like this one, please contact
address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]