Commit 646f3bc0af4f283d72bb0d67966908f74471bef7

Authored by Jay Berkenbilt
1 parent 9c44719f

Update Windows image and compiler

azure-pipelines.yml
... ... @@ -23,7 +23,7 @@ jobs:
23 23 buildPlatform: Linux
24 24 - job: Windows
25 25 pool:
26   - vmImage: vs2017-win2016
  26 + vmImage: windows-2019
27 27 strategy:
28 28 matrix:
29 29 msvc32:
... ...
azure-pipelines/build-windows.bat
... ... @@ -2,9 +2,9 @@
2 2 @rem Usage: build-windows {32|64} {msvc|mingw}
3 3 if %2 == msvc (
4 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 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 9 choco install zip
10 10 bash ./azure-pipelines/build-windows %1 %2
... ...