diff --git a/.github/ci-windows.py b/.github/ci-windows.py index 5d28ed0b855..d99ba2d97ec 100755 --- a/.github/ci-windows.py +++ b/.github/ci-windows.py @@ -61,12 +61,12 @@ def build(): "cmake", "--build", "build", - "-j", - str(os.process_cpu_count()), "--config", "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():