2020-02-17 13:34:51 +00:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
#
|
2023-08-23 22:48:44 +02:00
|
|
|
# Copyright (c) 2019-present 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
|
|
|
|
|
2024-04-10 17:34:42 +02:00
|
|
|
export CI_IMAGE_NAME_TAG="docker.io/ubuntu:24.04"
|
2020-02-17 13:34:51 +00:00
|
|
|
export CONTAINER_NAME=ci_native_fuzz_valgrind
|
2024-04-10 17:34:42 +02:00
|
|
|
export PACKAGES="clang-16 llvm-16 libclang-rt-16-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"
|
2024-07-24 11:54:41 +01:00
|
|
|
export BITCOIN_CONFIG="\
|
|
|
|
-DBUILD_FOR_FUZZING=ON \
|
|
|
|
-DSANITIZERS=fuzzer \
|
|
|
|
-DCMAKE_C_COMPILER=clang-16 \
|
|
|
|
-DCMAKE_CXX_COMPILER=clang++-16 \
|
|
|
|
"
|
2024-09-24 11:16:01 +01:00
|
|
|
export LLVM_SYMBOLIZER_PATH="/usr/bin/llvm-symbolizer-16"
|