00_setup_env_native_valgrind.sh raw

   1  #!/usr/bin/env bash
   2  #
   3  # Copyright (c) 2019-present The Bitcoin Core 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:26.04"
  10  export CONTAINER_NAME=ci_native_valgrind
  11  export PACKAGES="clang llvm libclang-rt-dev valgrind python3-zmq libboost-dev libzmq3-dev libsqlite3-dev libcapnp-dev capnproto python3-pip"
  12  export PIP_PACKAGES="--break-system-packages pycapnp"
  13  export USE_VALGRIND=1
  14  export NO_DEPENDS=1
  15  # bind tests excluded for now, see https://github.com/bitcoin/bitcoin/issues/17765#issuecomment-602068547
  16  export TEST_RUNNER_EXTRA="--exclude rpc_bind --exclude feature_bind_extra"
  17  export GOAL="install"
  18  # GUI disabled, because it only passes with a DEBUG=1 depends build
  19  export BITCOIN_CONFIG="\
  20   --preset=dev-mode \
  21   -DBUILD_GUI=OFF \
  22   -DWITH_USDT=OFF \
  23   -DCMAKE_C_COMPILER=clang \
  24   -DCMAKE_CXX_COMPILER=clang++ \
  25  "
  26