[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 108/264: CI: add build with ngtcp2 + gnutls on Travis CI
From: |
gnunet |
Subject: |
[gnurl] 108/264: CI: add build with ngtcp2 + gnutls on Travis CI |
Date: |
Thu, 30 Apr 2020 16:06:51 +0200 |
This is an automated email from the git hooks/post-receive script.
nikita pushed a commit to branch master
in repository gnurl.
commit c3b865ea385281ca83f33191e413c83c344ba14e
Author: Daiki Ueno <address@hidden>
AuthorDate: Sun Mar 29 15:13:04 2020 +0200
CI: add build with ngtcp2 + gnutls on Travis CI
---
.travis.yml | 24 ++++++++++++++++++++++++
scripts/travis/before_script.sh | 30 ++++++++++++++++++++++++------
2 files changed, 48 insertions(+), 6 deletions(-)
diff --git a/.travis.yml b/.travis.yml
index 88cb83571..f45565fe6 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -150,6 +150,30 @@ matrix:
- *common_packages
- libpsl-dev
- libbrotli-dev
+ - os: linux
+ compiler: gcc
+ dist: xenial
+ env:
+ - T=novalgrind NGTCP2=yes GNUTLS=yes
C="PKG_CONFIG_PATH=$HOME/ngbuild --without-ssl --with-gnutls=$HOME/ngbuild
--with-ngtcp2=$HOME/ngbuild --with-nghttp3=$HOME/ngbuild --enable-alt-svc"
NOTESTS=
+ - OVERRIDE_CC="CC=gcc-8" OVERRIDE_CXX="CXX=g++-8"
+ addons:
+ apt:
+ sources:
+ - *common_sources
+ packages:
+ - *common_packages
+ - libpsl-dev
+ - libbrotli-dev
+ - autogen
+ - automake
+ - autopoint
+ - bison
+ - gperf
+ - libgmp-dev
+ - libopts25-dev
+ - libp11-kit-dev
+ - libtasn1-6-dev
+ - nettle-dev
- os: linux
compiler: gcc
dist: bionic
diff --git a/scripts/travis/before_script.sh b/scripts/travis/before_script.sh
index 32fc4b45a..4e8164caf 100755
--- a/scripts/travis/before_script.sh
+++ b/scripts/travis/before_script.sh
@@ -25,12 +25,30 @@ set -eo pipefail
./buildconf
if [ "$NGTCP2" = yes ]; then
- cd $HOME
- git clone --depth 1 -b OpenSSL_1_1_1d-quic-draft-27
https://github.com/tatsuhiro-t/openssl possl
- cd possl
- ./config enable-tls1_3 --prefix=$HOME/ngbuild
- make
- make install_sw
+ if [ "$TRAVIS_OS_NAME" = linux -a "$GNUTLS" ]; then
+ cd $HOME
+ git clone --depth 1 https://gitlab.com/gnutls/nettle.git
+ cd nettle
+ ./.bootstrap
+ ./configure LDFLAGS="-Wl,-rpath,$HOME/ngbuild/lib" --disable-documentation
--prefix=$HOME/ngbuild
+ make
+ make install
+
+ cd $HOME
+ git clone --depth 1 -b tmp-quic https://gitlab.com/gnutls/gnutls.git pgtls
+ cd pgtls
+ ./bootstrap
+ ./configure PKG_CONFIG_PATH=$HOME/ngbuild/lib/pkgconfig
LDFLAGS="-Wl,-rpath,$HOME/ngbuild/lib" --with-included-libtasn1
--with-included-unistring --disable-guile --disable-doc --prefix=$HOME/ngbuild
+ make
+ make install
+ else
+ cd $HOME
+ git clone --depth 1 -b OpenSSL_1_1_1d-quic-draft-27
https://github.com/tatsuhiro-t/openssl possl
+ cd possl
+ ./config enable-tls1_3 --prefix=$HOME/ngbuild
+ make
+ make install_sw
+ fi
cd $HOME
git clone --depth 1 https://github.com/ngtcp2/nghttp3
--
To stop receiving notification emails like this one, please contact
address@hidden.
- [gnurl] 129/264: lib670: use the same Win32 API check as all other lib tests, (continued)
- [gnurl] 129/264: lib670: use the same Win32 API check as all other lib tests, gnunet, 2020/04/30
- [gnurl] 102/264: cleanup: insert newline after if() conditions, gnunet, 2020/04/30
- [gnurl] 87/264: mailmap: fixup a few author names/fields, gnunet, 2020/04/30
- [gnurl] 86/264: version: add 'cainfo' and 'capath' to version info struct, gnunet, 2020/04/30
- [gnurl] 100/264: cmake: add CMAKE_MSVC_RUNTIME_LIBRARY, gnunet, 2020/04/30
- [gnurl] 135/264: dist: add missing setup-win32.h, gnunet, 2020/04/30
- [gnurl] 140/264: CURLOPT_WRITEFUNCTION.3: add inline example and new see-also, gnunet, 2020/04/30
- [gnurl] 106/264: examples/sessioninfo.c: add include to fix compiler warning, gnunet, 2020/04/30
- [gnurl] 142/264: tests/README: update the port numbers list, gnunet, 2020/04/30
- [gnurl] 105/264: misc: copyright year updates, gnunet, 2020/04/30
- [gnurl] 108/264: CI: add build with ngtcp2 + gnutls on Travis CI,
gnunet <=
- [gnurl] 77/264: CI: bring GitHub Actions fuzzing job in line with macOS jobs, gnunet, 2020/04/30
- [gnurl] 80/264: dist: add mail-rcpt-allowfails.d to the tarball, gnunet, 2020/04/30
- [gnurl] 83/264: sockfilt: add logmsg output to select_ws_wait_thread on Windows, gnunet, 2020/04/30
- [gnurl] 107/264: vquic: add support for GnuTLS backend of ngtcp2, gnunet, 2020/04/30
- [gnurl] 112/264: ftpserver.pl: log before and after data connection is closed, gnunet, 2020/04/30
- [gnurl] 113/264: runtests.pl: log host OS as detected by Perl environment, gnunet, 2020/04/30
- [gnurl] 136/264: warnless: remove code block for icc that didn't work, gnunet, 2020/04/30
- [gnurl] 109/264: vquic/ngtcp2.h: update copyright year range, gnunet, 2020/04/30
- [gnurl] 81/264: openssl: adapt to functions marked as deprecated since version 3, gnunet, 2020/04/30
- [gnurl] 110/264: RELEASE-PROCEDURE.md: run the copyright.pl script!, gnunet, 2020/04/30