2019-08-15 16:51:31 -04:00
#!/usr/bin/env bash
#
2022-12-24 23:49:50 +00:00
# Copyright (c) 2019-2022 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
2020-02-05 08:43:10 +08:00
export CONTAINER_NAME = ci_native_qt5
2023-04-18 14:12:35 +02:00
export CI_IMAGE_NAME_TAG = "ubuntu:20.04"
2023-05-15 15:03:30 +02:00
# Use minimum supported python3.8 and gcc-9, see doc/dependencies.md
2023-04-18 14:12:35 +02:00
export PACKAGES = "gcc-9 g++-9 python3-zmq qtbase5-dev qttools5-dev-tools libdbus-1-dev libharfbuzz-dev"
export DEP_OPTS = "NO_QT=1 NO_UPNP=1 NO_NATPMP=1 DEBUG=1 ALLOW_HOST_PACKAGES=1 CC=gcc-9 CXX=g++-9"
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"
2023-05-17 11:37:54 +02:00
export NO_WERROR = 1 # -Werror=maybe-uninitialized
2022-07-20 18:24:17 +02:00
export DOWNLOAD_PREVIOUS_RELEASES = "true"
2021-11-07 14:13:39 +02:00
export BITCOIN_CONFIG = " --enable-zmq --with-libs=no --with-gui=qt5 --enable-reduce-exports \
2023-04-18 14:12:35 +02:00
--enable-debug CFLAGS = \" -g0 -O2 -funsigned-char\" CXXFLAGS = \" -g0 -O2 -funsigned-char\" "