mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-09-11 21:20:39 +02:00
ci: Print verbose build error message in test-each-commit
Github-Pull: #34461
Rebased-From: bbbb78a4f2
This commit is contained in:
6
.github/ci-test-each-commit-exec.py
vendored
6
.github/ci-test-each-commit-exec.py
vendored
@@ -45,7 +45,11 @@ def main():
|
||||
"-DWITH_USDT=ON",
|
||||
"-DCMAKE_CXX_FLAGS=-Wno-error=unused-member-function",
|
||||
])
|
||||
run(["cmake", "--build", "build", "-j", str(num_procs)])
|
||||
|
||||
if run(["cmake", "--build", "build", "-j", str(num_procs)], check=False).returncode != 0:
|
||||
print("Build failure. Verbose build follows.")
|
||||
run(["cmake", "--build", "build", "-j1", "--verbose"])
|
||||
|
||||
run([
|
||||
"ctest",
|
||||
"--output-on-failure",
|
||||
|
||||
Reference in New Issue
Block a user