CI: backport test fixes from main

v1.28
Brad House 7 months ago
parent 7588896b57
commit ef774decf1
  1. 5
      .cirrus.yml
  2. 2
      ci/build.sh
  3. 2
      ci/test.sh

@ -147,7 +147,7 @@ task:
- |
case "${DIST}" in
ALPINE)
apk add cmake samurai gtest-dev autoconf autoconf-archive automake libtool pkgconf make
apk add bash cmake samurai gtest-dev autoconf autoconf-archive automake libtool pkgconf make
case "${BUILD_TYPE}" in
asan|lsan|ubsan)
apk add clang17 compiler-rt
@ -185,7 +185,8 @@ task:
;;
FREEBSD)
# pkg upgrade -y && \
pkg install -y cmake ninja googletest pkgconf
pkg install -y bash cmake ninja googletest pkgconf
ln -sf /usr/local/bin/bash /bin/bash
case "${BUILD_TYPE}" in
asan|analyze|ubsan|lsan)
pkg install -y llvm autoconf automake libtool gmake

@ -29,6 +29,7 @@ if [ "$BUILD_TYPE" = "autotools" -o "$BUILD_TYPE" = "coverage" ]; then
export CXXFLAGS="${CXXFLAGS} -O0 -g"
$SCAN_WRAP ../configure --disable-symbol-hiding --enable-maintainer-mode $CONFIG_OPTS
$SCAN_WRAP make
cd ..
else
# Use cmake for everything else
rm -rf cmakebld
@ -39,4 +40,5 @@ else
fi
$SCAN_WRAP cmake ${CMAKE_FLAGS} ${CMAKE_TEST_FLAGS} ..
$SCAN_WRAP cmake --build .
cd ..
fi

@ -1,4 +1,4 @@
#!/bin/sh
#!/bin/bash
# Copyright (C) The c-ares project and its contributors
# SPDX-License-Identifier: MIT
set -e -x -o pipefail

Loading…
Cancel
Save