Commit 646f3bc0af4f283d72bb0d67966908f74471bef7

Authored by Jay Berkenbilt
1 parent 9c44719f

Update Windows image and compiler

azure-pipelines.yml
@@ -23,7 +23,7 @@ jobs: @@ -23,7 +23,7 @@ jobs:
23 buildPlatform: Linux 23 buildPlatform: Linux
24 - job: Windows 24 - job: Windows
25 pool: 25 pool:
26 - vmImage: vs2017-win2016 26 + vmImage: windows-2019
27 strategy: 27 strategy:
28 matrix: 28 matrix:
29 msvc32: 29 msvc32:
azure-pipelines/build-windows.bat
@@ -2,9 +2,9 @@ @@ -2,9 +2,9 @@
2 @rem Usage: build-windows {32|64} {msvc|mingw} 2 @rem Usage: build-windows {32|64} {msvc|mingw}
3 if %2 == msvc ( 3 if %2 == msvc (
4 if %1 == 64 ( 4 if %1 == 64 (
5 - call "%VS140COMNTOOLS%\..\..\VC\bin\amd64\vcvars64.bat" 5 + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
6 ) else ( 6 ) else (
7 - call "%VS140COMNTOOLS%\..\..\VC\bin\vcvars32.bat" 7 + call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
8 ) 8 )
9 choco install zip 9 choco install zip
10 bash ./azure-pipelines/build-windows %1 %2 10 bash ./azure-pipelines/build-windows %1 %2