ci: Print verbose Windows CI build failure
This commit is contained in:
1 file changed
+3
-3
@@ -61,12 +61,12 @@ def build():
|
|||||||
"cmake",
|
"cmake",
|
||||||
"--build",
|
"--build",
|
||||||
"build",
|
"build",
|
||||||
"-j",
|
|
||||||
str(os.process_cpu_count()),
|
|
||||||
"--config",
|
"--config",
|
||||||
"Release",
|
"Release",
|
||||||
]
|
]
|
||||||
run(command)
|
if run(command + ["-j", str(os.process_cpu_count())], check=False).returncode != 0:
|
||||||
|
print("Build failure. Verbose build follows.")
|
||||||
|
run(command + ["-j1", "--verbose"])
|
||||||
|
|
||||||
|
|
||||||
def main():
|
def main():
|
||||||
|
|||||||
Reference in new issue
Block a user