2019-08-15 16:51:31 -04:00
#!/usr/bin/env bash
#
2023-08-23 22:48:44 +02:00
# Copyright (c) 2019-present The Bitcoin Core developers
2019-08-15 16:51:31 -04:00
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL = C.UTF-8
2024-01-10 15:39:33 +01:00
export CONTAINER_NAME = ci_native_previous_releases
2023-12-15 13:01:26 +01:00
export CI_IMAGE_NAME_TAG = "docker.io/ubuntu:22.04"
# Use minimum supported python3.9 (or best effort 3.10) and gcc-11, see doc/dependencies.md
export PACKAGES = "gcc-11 g++-11 python3-zmq"
export DEP_OPTS = "NO_UPNP=1 NO_NATPMP=1 DEBUG=1 CC=gcc-11 CXX=g++-11"
2020-05-19 07:12:22 -04:00
export TEST_RUNNER_EXTRA = "--previous-releases --coverage --extended --exclude feature_dbcrash" # Run extended tests so that coverage does not fail, but exclude the very slow dbcrash
2020-04-08 22:20:52 +08:00
export RUN_UNIT_TESTS_SEQUENTIAL = "true"
export RUN_UNIT_TESTS = "false"
2019-08-15 16:51:31 -04:00
export GOAL = "install"
2022-07-20 18:24:17 +02:00
export DOWNLOAD_PREVIOUS_RELEASES = "true"
2024-07-24 11:54:41 +01:00
export BITCOIN_CONFIG = " \
-DWITH_ZMQ= ON -DBUILD_GUI= ON -DREDUCE_EXPORTS= ON \
-DCMAKE_BUILD_TYPE= Debug \
-DCMAKE_C_FLAGS= '-funsigned-char' \
-DCMAKE_C_FLAGS_DEBUG= '-g0 -O2' \
-DCMAKE_CXX_FLAGS= '-funsigned-char' \
-DCMAKE_CXX_FLAGS_DEBUG= '-g0 -O2' \
-DAPPEND_CPPFLAGS= '-DBOOST_MULTI_INDEX_ENABLE_SAFE_MODE' \
"