mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-07-23 14:48:55 +02:00
ci: Tolerate unused free functions in intermediate commits
When bigger changes are split across multiple commits, intermediate commits may introduce unused functions. Do not check for this error in intermediate commits.
This commit is contained in:
4
.github/ci-test-each-commit-exec.py
vendored
4
.github/ci-test-each-commit-exec.py
vendored
@@ -40,8 +40,8 @@ def main():
|
||||
"-DCMAKE_BUILD_TYPE=Debug",
|
||||
"-DCMAKE_COMPILE_WARNING_AS_ERROR=ON",
|
||||
"--preset=dev-mode",
|
||||
# Tolerate unused member functions in intermediate commits in a pull request
|
||||
"-DCMAKE_CXX_FLAGS=-Wno-error=unused-member-function",
|
||||
# Tolerate unused (member) functions in intermediate commits in a pull request
|
||||
"-DCMAKE_CXX_FLAGS=-Wno-error=unused-member-function -Wno-error=unused-function",
|
||||
])
|
||||
|
||||
if run(["cmake", "--build", build_dir, "-j", str(num_procs)], check=False).returncode != 0:
|
||||
|
||||
Reference in New Issue
Block a user