2020-02-17 10:34:51 -03:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2022-12-24 20:49:50 -03:00
|
|
|
# Copyright (c) 2019-2022 The Bitcoin Core developers
|
2020-02-17 10:34:51 -03: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-01-09 06:22:18 -03:00
|
|
|
export CI_IMAGE_NAME_TAG="ubuntu:22.04"
|
2020-02-17 10:34:51 -03:00
|
|
|
export CONTAINER_NAME=ci_native_fuzz_valgrind
|
2022-02-09 15:15:10 -03:00
|
|
|
export PACKAGES="clang llvm python3 libevent-dev bsdmainutils libboost-dev libsqlite3-dev valgrind"
|
2020-02-17 10:34:51 -03:00
|
|
|
export NO_DEPENDS=1
|
|
|
|
export RUN_UNIT_TESTS=false
|
|
|
|
export RUN_FUNCTIONAL_TESTS=false
|
|
|
|
export RUN_FUZZ_TESTS=true
|
2020-02-16 08:28:37 -03:00
|
|
|
export FUZZ_TESTS_CONFIG="--valgrind"
|
2020-02-17 10:34:51 -03:00
|
|
|
export GOAL="install"
|
2022-04-01 08:57:40 -03:00
|
|
|
# Temporarily pin dwarf 4, until valgrind can understand clang's dwarf 5
|
2022-07-20 04:11:15 -04:00
|
|
|
export BITCOIN_CONFIG="--enable-fuzz --with-sanitizers=fuzzer CC=clang CXX=clang++ CFLAGS='-gdwarf-4' CXXFLAGS='-gdwarf-4'"
|
2020-07-14 12:00:49 -04:00
|
|
|
export CCACHE_SIZE=200M
|