ci: Extend tidy job to cover kernel code
What changed, and why it matters
This commit changes one line in a Bitcoin Core continuous integration (CI) script. It replaces a manually written list of build options with a pre-defined developer-mode preset so that the automated code-quality (clang-tidy) job also covers the project's new kernel code. There is no change to the software users run, no bug fix, and no security-relevant behavior change.
No security action needed. Treat as a normal build/CI maintenance change.
Security signals we found
No strong security signals were identified.
Evidence from the diff
The diff modifies ci/test/00_setup_env_native_tidy.sh, changing BITCOIN_CONFIG from explicit CMake flags (-DWITH_ZMQ=ON -DBUILD_GUI=ON -DBUILD_BENCH=ON -DWITH_USDT=ON) to –preset dev-mode. This is a CI/build-system-only adjustment intended to ensure the tidy job builds the kernel library as well. It does not alter runtime code, consensus logic, networking, cryptography, or any user-facing behavior.
Changed components
ci/test/00_setup_env_native_tidy.shInspect captured patch +1 / −1
diff --git a/ci/test/00_setup_env_native_tidy.sh b/ci/test/00_setup_env_native_tidy.sh
index 5a2fa300..04f3e2e7 100755
--- a/ci/test/00_setup_env_native_tidy.sh
+++ b/ci/test/00_setup_env_native_tidy.sh
@@ -19,7 +19,7 @@ export RUN_CHECK_DEPS=true
export RUN_TIDY=true
export GOAL="install"
export BITCOIN_CONFIG="\
- -DWITH_ZMQ=ON -DBUILD_GUI=ON -DBUILD_BENCH=ON -DWITH_USDT=ON \
+ --preset dev-mode \
-DCMAKE_C_COMPILER=clang-${TIDY_LLVM_V} \
-DCMAKE_CXX_COMPILER=clang++-${TIDY_LLVM_V} \
-DCMAKE_C_FLAGS_RELWITHDEBINFO='-O0 -g0' \
Why this scored 15/100
Community notes
Notes can correct, qualify, or add evidence to the AI analysis. Every note shown here has been validated by a human moderator.
The AI analysis stands alone for now. Submit a note if you can add evidence or important context.