00_setup_env_native_valgrind.sh raw
1 #!/usr/bin/env bash
2 #
3 # Copyright (c) 2019-present The Limenka developers
4 # Distributed under the MIT software license, see the accompanying
5 # file COPYING or http://www.opensource.org/licenses/mit-license.php.
6
7 export LC_ALL=C.UTF-8
8
9 export CI_IMAGE_NAME_TAG="mirror.gcr.io/ubuntu:24.04"
10 export CONTAINER_NAME=ci_native_valgrind
11 export PACKAGES="valgrind clang-16 llvm-16 libclang-rt-16-dev python3-zmq libevent-dev libboost-dev libdb5.3++-dev libminiupnpc-dev libzmq3-dev libsqlite3-dev"
12 export USE_VALGRIND=1
13 export NO_DEPENDS=1
14 export TEST_RUNNER_EXTRA="--exclude feature_init,rpc_bind,feature_bind_extra" # feature_init excluded for now, see https://github.com/limenka/limenka/issues/30011 ; bind tests excluded for now, see https://github.com/limenka/limenka/issues/17765#issuecomment-602068547
15 export GOAL="install"
16 # TODO enable GUI
17 export LIMENKA_CONFIG="\
18 -DWITH_ZMQ=ON -DWITH_BDB=ON -DWITH_MINIUPNPC=ON -DWARN_INCOMPATIBLE_BDB=OFF -DBUILD_GUI=OFF \
19 -DCMAKE_C_COMPILER=clang-16 \
20 -DCMAKE_CXX_COMPILER=clang++-16 \
21 "
22