2
1
mirror of https://github.com/qpdf/qpdf.git synced 2024-12-22 19:08:59 +00:00

Update Windows image and compiler

This commit is contained in:
Jay Berkenbilt 2019-08-29 23:03:09 -04:00
parent 9c44719f05
commit 646f3bc0af
2 changed files with 3 additions and 3 deletions

View File

@ -23,7 +23,7 @@ jobs:
buildPlatform: Linux buildPlatform: Linux
- job: Windows - job: Windows
pool: pool:
vmImage: vs2017-win2016 vmImage: windows-2019
strategy: strategy:
matrix: matrix:
msvc32: msvc32:

View File

@ -2,9 +2,9 @@
@rem Usage: build-windows {32|64} {msvc|mingw} @rem Usage: build-windows {32|64} {msvc|mingw}
if %2 == msvc ( if %2 == msvc (
if %1 == 64 ( if %1 == 64 (
call "%VS140COMNTOOLS%\..\..\VC\bin\amd64\vcvars64.bat" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars64.bat"
) else ( ) else (
call "%VS140COMNTOOLS%\..\..\VC\bin\vcvars32.bat" call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvars32.bat"
) )
choco install zip choco install zip
bash ./azure-pipelines/build-windows %1 %2 bash ./azure-pipelines/build-windows %1 %2