ci: windows: enable build summary to make it easier to spot warnings / errors.
authorAndres Freund <andres@anarazel.de>
Thu, 13 Jan 2022 18:26:22 +0000 (10:26 -0800)
committerAndres Freund <andres@anarazel.de>
Thu, 13 Jan 2022 18:26:22 +0000 (10:26 -0800)
The build summary was disabled unintentionally by setting the build verbosity
lower.

While at it, also add ForceNoAlign to prevent msbuild from introducing
linebreaks in the middle of filenames etc - they make it harder to copy
output.

Discussion: https://postgr.es/m/20220113175554.u6gw7olrdfzivl3n@alap3.anarazel.de

.cirrus.yml

index 19b3737fa116fa0a4121e214ba79b9fb4c66710f..910b1d6313ad1453ae1033c68ff03b89a0db55ea 100644 (file)
@@ -358,8 +358,13 @@ task:
     # Avoids port conflicts between concurrent tap test runs
     PG_TEST_USE_UNIX_SOCKETS: 1
     PG_REGRESS_SOCK_DIR: "c:/cirrus/"
-    # Use parallelism, disable file tracker, we're never going to rebuild...
-    MSBFLAGS: -m -verbosity:minimal /p:TrackFileAccess=false
+    # -m enables parallelism
+    # verbosity:minimal + Summary reduce verbosity, while keeping a summary of
+    #   errors/warnings
+    # ForceNoAlign prevents msbuild from introducing line-breaks for long lines
+    # disable file tracker, we're never going to rebuild, and it slows down the
+    #   build
+    MSBFLAGS: -m -verbosity:minimal "-consoleLoggerParameters:Summary;ForceNoAlign" /p:TrackFileAccess=false -nologo
 
   only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*windows.*'