From 2d51814a45a4930fbb56647b0bb7a9fdb46b0487 Mon Sep 17 00:00:00 2001 From: tcely Date: Wed, 20 Mar 2019 09:49:59 -0400 Subject: community/dnsdist: [DroneCI] disable armhf unit tests --- community/dnsdist/APKBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/community/dnsdist/APKBUILD b/community/dnsdist/APKBUILD index 63a159e7274..23764e14e4b 100644 --- a/community/dnsdist/APKBUILD +++ b/community/dnsdist/APKBUILD @@ -38,23 +38,30 @@ prepare() { _configure() { local _arg="$1" local _luajit + local _unit_tests [ "$_arg" = '-jit' ] || _arg='' _luajit="lua${_lua_version}" cd "$builddir$_arg" + # builds are timing out on armhf + _unit_tests='--enable-unit-tests' + case "${DRONE_REPO_OWNER}-${DRONE_RUNNER_PLATFORM}-${CARCH}" in + alpinelinux-linux/arm-armhf) _unit_tests="${_unit_tests}=no" ;; + esac + ./configure \ --build="$CBUILD" \ --host="$CHOST" \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ - --enable-unit-tests \ --enable-dnscrypt \ --enable-dns-over-tls \ --enable-fstrm \ --enable-libsodium \ --enable-re2 \ + ${_unit_tests} \ --with-protobuf \ --with-boost=/usr/include \ --with-net-snmp \ -- cgit v1.2.3