Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 8a1ce5e

Browse files
committed
ci: windows: enable build summary to make it easier to spot warnings / errors.
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
1 parent 5513dc6 commit 8a1ce5e

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.cirrus.yml

+7-2
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,13 @@ task:
358358
# Avoids port conflicts between concurrent tap test runs
359359
PG_TEST_USE_UNIX_SOCKETS: 1
360360
PG_REGRESS_SOCK_DIR: "c:/cirrus/"
361-
# Use parallelism, disable file tracker, we're never going to rebuild...
362-
MSBFLAGS: -m -verbosity:minimal /p:TrackFileAccess=false
361+
# -m enables parallelism
362+
# verbosity:minimal + Summary reduce verbosity, while keeping a summary of
363+
# errors/warnings
364+
# ForceNoAlign prevents msbuild from introducing line-breaks for long lines
365+
# disable file tracker, we're never going to rebuild, and it slows down the
366+
# build
367+
MSBFLAGS: -m -verbosity:minimal "-consoleLoggerParameters:Summary;ForceNoAlign" /p:TrackFileAccess=false -nologo
363368

364369
only_if: $CIRRUS_CHANGE_MESSAGE !=~ '.*\nci-os-only:.*' || $CIRRUS_CHANGE_MESSAGE =~ '.*\nci-os-only:[^\n]*windows.*'
365370

0 commit comments

Comments
 (0)