From fa9c2973d60bca7ff69ee3b99dbdfe4b5ef32e9d Mon Sep 17 00:00:00 2001 From: MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> Date: Sat, 8 Nov 2025 11:57:30 +0100 Subject: [PATCH] ci: Enable experimental kernel stuff in TSan task Base the task on --preset=dev-mode to ensure maximal coverage and add the following: bitcoin-chainstate (experimental) ... ON libbitcoinkernel (experimental) ..... ON kernel-test (experimental) .......... ON The GUI remains disabled explicitly. --- .github/workflows/ci.yml | 2 +- ci/test/00_setup_env_native_tsan.sh | 8 ++++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a24f0afdb95..ce3129a7832 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -528,7 +528,7 @@ jobs: timeout-minutes: 120 file-env: './ci/test/00_setup_env_native_tidy.sh' - - name: 'TSan, depends, no gui' + - name: 'TSan' cirrus-runner: 'ghcr.io/cirruslabs/ubuntu-runner-amd64:24.04-md' fallback-runner: 'ubuntu-24.04' timeout-minutes: 120 diff --git a/ci/test/00_setup_env_native_tsan.sh b/ci/test/00_setup_env_native_tsan.sh index bf4b68412b2..b0429ce8fe7 100755 --- a/ci/test/00_setup_env_native_tsan.sh +++ b/ci/test/00_setup_env_native_tsan.sh @@ -16,6 +16,10 @@ export PIP_PACKAGES="--break-system-packages pycapnp" export DEP_OPTS="CC=clang CXX=clang++ CXXFLAGS='${LIBCXX_FLAGS}' NO_QT=1" export GOAL="install" export CI_LIMIT_STACK_SIZE=1 -export BITCOIN_CONFIG="-DWITH_ZMQ=ON -DSANITIZERS=thread \ --DAPPEND_CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKCONTENTION -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES'" +export BITCOIN_CONFIG="\ + --preset=dev-mode \ + -DBUILD_GUI=OFF \ + -DSANITIZERS=thread \ + -DAPPEND_CPPFLAGS='-DARENA_DEBUG -DDEBUG_LOCKCONTENTION -D_LIBCPP_REMOVE_TRANSITIVE_INCLUDES' \ +" export USE_INSTRUMENTED_LIBCPP="Thread"