]> granicus.if.org Git - graphviz/commitdiff
increase CMake log-level in CI
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 25 Nov 2021 17:15:24 +0000 (09:15 -0800)
committerMatthew Fernandez <matthew.fernandez@gmail.com>
Thu, 3 Feb 2022 06:20:33 +0000 (17:20 +1100)
Allows us to more easily debug failures.

ci/build.sh
ci/build_windows.py

index 075901a4ff8818ca0aea73369c3381d451fc21e7..c4e3272d8c1511ab0665f726d9334cd8c63efb81 100755 (executable)
@@ -36,7 +36,7 @@ build_system=${build_system:-autotools}
 if [ "${build_system}" = "cmake" ]; then
     mkdir build
     pushd build
-    cmake ${CMAKE_OPTIONS:-} ..
+    cmake --log-level=VERBOSE ${CMAKE_OPTIONS:-} ..
     cmake --build .
     cpack
     popd
index c74fa0a6a9ae62be8345ceb96deed2df6cf70d2c..49dae7ef3f12e31233ffdf1dadad130160ec68a9 100644 (file)
@@ -34,8 +34,8 @@ def main(args: List[str]) -> int: #pylint: disable=C0116
     if build.exists():
       shutil.rmtree(build)
     os.makedirs(build)
-    run(["cmake", "-G", "Visual Studio 16 2019", "-A", options.platform, "-D",
-         "with_cxx_api=ON", ".."],
+    run(["cmake", "--log-level=VERBOSE", "-G", "Visual Studio 16 2019", "-A",
+         options.platform, "-D", "with_cxx_api=ON", ".."],
         build)
     run(["cmake", "--build", ".", "--config", options.configuration], build)
     run(["cpack", "-C", options.configuration], build)