Skip to content

Commit 5157e88

Browse files
authored
Update appveyor.yml
1 parent 269c830 commit 5157e88

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

appveyor.yml

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ version: '{build}'
22
pull_requests:
33
do_not_increment_build_number: true
44
image:
5+
- Visual Studio 2019
56
- Visual Studio 2017
67
- Visual Studio 2015
78
configuration:
@@ -13,24 +14,26 @@ platform:
1314
clone_depth: 1
1415
init:
1516
- cmd: >-
16-
set arch=
17+
set arch=Win32
1718
18-
if "%PLATFORM%"=="x64" ( set arch= Win64)
19+
if "%PLATFORM%"=="x64" ( set arch=Win64)
1920
2021
echo %APPVEYOR_BUILD_WORKER_IMAGE%
2122
22-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
23+
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2019" ( set generator="Visual Studio 15 2019" )
2324
24-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015%arch%" )
25+
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017" )
2526
26-
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013%arch%" )
27+
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015" )
28+
29+
if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013" )
2730
2831
echo %generator%
2932
before_build:
3033
- cmd: >-
3134
cmake --version
3235
33-
cmake -H. -BBuild -G %generator%
36+
cmake -H. -BBuild -G %generator% -A %arch%
3437
build:
3538
project: Build\ALL_BUILD.vcxproj
3639
parallel: true

0 commit comments

Comments
 (0)