2020-02-17 13:34:51 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2022-12-24 23:49:50 +00:00
|
|
|
# Copyright (c) 2019-2022 The Bitcoin Core developers
|
2020-02-17 13:34:51 +00: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
|
|
|
|
|
2023-04-10 21:00:51 +01:00
|
|
|
export CI_IMAGE_NAME_TAG="debian:bookworm"
|
2020-02-17 13:34:51 +00:00
|
|
|
export CONTAINER_NAME=ci_native_fuzz_valgrind
|
2023-06-28 11:10:51 +01:00
|
|
|
export PACKAGES="clang llvm libclang-rt-dev libevent-dev libboost-dev libsqlite3-dev valgrind"
|
2020-02-17 13:34:51 +00:00
|
|
|
export NO_DEPENDS=1
|
|
|
|
export RUN_UNIT_TESTS=false
|
|
|
|
export RUN_FUNCTIONAL_TESTS=false
|
|
|
|
export RUN_FUZZ_TESTS=true
|
2020-02-16 11:28:37 +00:00
|
|
|
export FUZZ_TESTS_CONFIG="--valgrind"
|
2020-02-17 13:34:51 +00:00
|
|
|
export GOAL="install"
|
2023-04-10 21:00:51 +01:00
|
|
|
# Temporarily pin dwarf 4, until using Valgrind 3.20 or later
|
2023-07-12 15:45:21 +02:00
|
|
|
export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer CC='clang -gdwarf-4' CXX='clang++ -gdwarf-4'"
|
2020-07-14 19:00:49 +03:00
|
|
|
export CCACHE_SIZE=200M
|