Use Botan 2.14.0 for tests
Requires at least GCC 5.0 to build with `--amalgamation`, so it's disabled for our Ubuntu 16.04 build.
This commit is contained in:
+4
-4
@@ -63,9 +63,9 @@ jobs:
|
|||||||
arch: ppc64le
|
arch: ppc64le
|
||||||
- env: TEST=all
|
- env: TEST=all
|
||||||
arch: s390x
|
arch: s390x
|
||||||
- env: TEST=all
|
- env: TEST=all UBUNTU_XENIAL=yes
|
||||||
dist: xenial
|
dist: xenial
|
||||||
- env: TEST=all
|
- env: TEST=all UBUNTU_XENIAL=yes
|
||||||
dist: xenial
|
dist: xenial
|
||||||
compiler: clang
|
compiler: clang
|
||||||
- env: TEST=all MONOLITHIC=yes
|
- env: TEST=all MONOLITHIC=yes
|
||||||
@@ -105,9 +105,9 @@ jobs:
|
|||||||
- env: TEST=wolfssl LEAK_DETECTIVE=yes
|
- env: TEST=wolfssl LEAK_DETECTIVE=yes
|
||||||
- env: TEST=openssl
|
- env: TEST=openssl
|
||||||
- env: TEST=openssl LEAK_DETECTIVE=yes
|
- env: TEST=openssl LEAK_DETECTIVE=yes
|
||||||
- env: TEST=openssl-1.0
|
- env: TEST=openssl-1.0 UBUNTU_XENIAL=yes
|
||||||
dist: xenial
|
dist: xenial
|
||||||
- env: TEST=openssl-1.0 LEAK_DETECTIVE=yes
|
- env: TEST=openssl-1.0 LEAK_DETECTIVE=yes UBUNTU_XENIAL=yes
|
||||||
dist: xenial
|
dist: xenial
|
||||||
- env: TEST=gcrypt
|
- env: TEST=gcrypt
|
||||||
- env: TEST=gcrypt LEAK_DETECTIVE=yes
|
- env: TEST=gcrypt LEAK_DETECTIVE=yes
|
||||||
|
|||||||
+8
-6
@@ -4,7 +4,7 @@
|
|||||||
build_botan()
|
build_botan()
|
||||||
{
|
{
|
||||||
# same revision used in the build recipe of the testing environment
|
# same revision used in the build recipe of the testing environment
|
||||||
BOTAN_REV=0881f2c33ff7 # 2.13.0 + amalgamation patch
|
BOTAN_REV=2.14.0
|
||||||
BOTAN_DIR=$DEPS_BUILD_DIR/botan
|
BOTAN_DIR=$DEPS_BUILD_DIR/botan
|
||||||
|
|
||||||
if test -d "$BOTAN_DIR"; then
|
if test -d "$BOTAN_DIR"; then
|
||||||
@@ -113,10 +113,6 @@ gcrypt)
|
|||||||
botan)
|
botan)
|
||||||
CONFIG="--disable-defaults --enable-pki --enable-botan --enable-pem"
|
CONFIG="--disable-defaults --enable-pki --enable-botan --enable-pem"
|
||||||
export TESTS_PLUGINS="test-vectors pem botan!"
|
export TESTS_PLUGINS="test-vectors pem botan!"
|
||||||
# we can't use the old package that comes with Ubuntu so we build from
|
|
||||||
# the current master until 2.8.0 is released and then probably switch to
|
|
||||||
# that unless we need newer features (at least 2.7.0 plus PKCS#1 patch is
|
|
||||||
# currently required)
|
|
||||||
DEPS=""
|
DEPS=""
|
||||||
if test "$1" = "deps"; then
|
if test "$1" = "deps"; then
|
||||||
build_botan
|
build_botan
|
||||||
@@ -153,13 +149,19 @@ all|coverage|sonarcloud)
|
|||||||
# not actually required but configure checks for it
|
# not actually required but configure checks for it
|
||||||
DEPS="$DEPS lcov"
|
DEPS="$DEPS lcov"
|
||||||
fi
|
fi
|
||||||
|
# Botan requires GCC 5.0, so disable it on Ubuntu 16.04
|
||||||
|
if test -n "$UBUNTU_XENIAL"; then
|
||||||
|
CONFIG="$CONFIG --disable-botan"
|
||||||
|
fi
|
||||||
DEPS="$DEPS libcurl4-gnutls-dev libsoup2.4-dev libunbound-dev libldns-dev
|
DEPS="$DEPS libcurl4-gnutls-dev libsoup2.4-dev libunbound-dev libldns-dev
|
||||||
libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev
|
libmysqlclient-dev libsqlite3-dev clearsilver-dev libfcgi-dev
|
||||||
libpcsclite-dev libpam0g-dev binutils-dev libnm-dev libgcrypt20-dev
|
libpcsclite-dev libpam0g-dev binutils-dev libnm-dev libgcrypt20-dev
|
||||||
libjson-c-dev iptables-dev python-pip libtspi-dev libsystemd-dev"
|
libjson-c-dev iptables-dev python-pip libtspi-dev libsystemd-dev"
|
||||||
PYDEPS="tox"
|
PYDEPS="tox"
|
||||||
if test "$1" = "deps"; then
|
if test "$1" = "deps"; then
|
||||||
build_botan
|
if test -z "$UBUNTU_XENIAL"; then
|
||||||
|
build_botan
|
||||||
|
fi
|
||||||
build_wolfssl
|
build_wolfssl
|
||||||
build_tss2
|
build_tss2
|
||||||
fi
|
fi
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PKG = botan
|
PKG = botan
|
||||||
SRC = https://github.com/randombit/$(PKG).git
|
SRC = https://github.com/randombit/$(PKG).git
|
||||||
REV = 2.13.0
|
REV = 2.14.0
|
||||||
|
|
||||||
NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
|
NUM_CPUS := $(shell getconf _NPROCESSORS_ONLN)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user