Skip to content

Commit 711cd6d

Browse files
dschogitster
authored andcommitted
ci(visual-studio): use strict compile flags, and optimization
To make full use of the work that went into the Visual Studio build & test jobs in our CI/PR builds, let's turn on strict compiler flags. This will give us the benefit of Visual C's compiler warnings (which, at times, seem to catch things that GCC does not catch, and vice versa). While at it, also turn on optimization; It does not make sense to produce binaries with debug information, and we can use any ounce of speed that we get (because the test suite is particularly slow on Windows, thanks to the need to run inside a Unix shell, which requires us to use the POSIX emulation layer provided by MSYS2). Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 4668931 commit 711cd6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

azure-pipelines.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
displayName: 'Download git-sdk-64-minimal'
158158
- powershell: |
159159
& git-sdk-64-minimal\usr\bin\bash.exe -lc @"
160-
make vcxproj
160+
make NDEBUG=1 DEVELOPER=1 vcxproj
161161
"@
162162
if (!$?) { exit(1) }
163163
displayName: Generate Visual Studio Solution

0 commit comments

Comments
 (0)