mirror of
https://github.com/allankoechke/soci.git
synced 2026-11-30 10:58:24 +00:00
This is extremely slow in GitHub Actions environment, resulting in the "empty" backend test execution taking 814 seconds instead of 2 without it, and all the other, non trivial, tests simply timing out. We don't really need it anyhow an it got apparently enabled accidentally due to DEBUGINFOD_URLS being set to https://debuginfod.ubuntu.com in the latest GitHub runner Ubuntu images.
13 lines
601 B
Bash
Executable File
13 lines
601 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Builds SOCI for use with Valgrind in CI builds
|
|
#
|
|
# Copyright (c) 2013 Mateusz Loskot <mateusz@loskot.net>
|
|
# Copyright (c) 2015 Sergei Nikulov <sergey.nikulov@gmail.com>
|
|
# Copyright (c) 2021 Vadim Zeitlin <vz-soci@zeitlins.org>
|
|
#
|
|
source ${SOCI_SOURCE_DIR}/scripts/ci/common.sh
|
|
|
|
# Using debuginfod is extremely slow in GitHub Actions environment, so disable
|
|
# it to prevent tests time outs.
|
|
valgrind --leak-check=full --enable-debuginfod=no --suppressions=${SOCI_SOURCE_DIR}/scripts/suppressions/valgrind --error-exitcode=1 --trace-children=yes ctest -V --output-on-failure "$@" .
|