mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-15 07:52:39 +00:00
ci: Print verbose build error message in test-each-commit
Github-Pull: #34461 Rebased-From: bbbb78a4f28fd2378342398ccae60995ae0e08d2
This commit is contained in:
parent
f5d4dc9419
commit
1a757af7ea
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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user