zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 65b495af58bcd010b997d9036ee39808451ef76c (tree)
parent 1d6d6d522877243772550edfb0df12c21ed63376
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sun, 22 Sep 2019 15:59:06 -0400

windows CI: use MinSizeRel to work around MSVC bug

See #3024

Diffstat:
Mci/azure/windows_script.bat | 5+++--
1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ci/azure/windows_script.bat b/ci/azure/windows_script.bat @@ -17,8 +17,9 @@ call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliar mkdir %ZIGBUILDDIR% cd %ZIGBUILDDIR% -cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=Release || exit /b -msbuild /p:Configuration=Release INSTALL.vcxproj || exit /b +REM Here we use MinSizeRel instead of Release to work around https://github.com/ziglang/zig/issues/3024 +cmake.exe .. -Thost=x64 -G"Visual Studio 16 2019" -A x64 "-DCMAKE_INSTALL_PREFIX=%ZIGINSTALLDIR%" "-DCMAKE_PREFIX_PATH=%ZIGPREFIXPATH%" -DCMAKE_BUILD_TYPE=MinSizeRel || exit /b +msbuild /p:Configuration=MinSizeRel INSTALL.vcxproj || exit /b "%ZIGINSTALLDIR%\bin\zig.exe" build test || exit /b