AppVeyorCI: set path to devenv tool based on environment

pull/3/head
Christian Beier 7 years ago
parent f84d90c9e8
commit 020c30f63d
No known key found for this signature in database
GPG Key ID: 421BB3B45C6067F8

@ -2,9 +2,12 @@
#environment:
# APPVEYOR_RDP_PASSWORD: Pa55word
os:
- Visual Studio 2013
- Visual Studio 2015
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
DEVENV_EXE: C:\"Program Files (x86)"\"Microsoft Visual Studio 12.0"\Common7\IDE\devenv.exe
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
DEVENV_EXE: C:\"Program Files (x86)"\"Microsoft Visual Studio 14.0"\Common7\IDE\devenv.exe
#init:
# - ps: iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))
@ -33,7 +36,8 @@ install:
- 7z x db-4.1.25.tar.gz -so | 7z x -si -ttar > nul
- move db-4.1.25 db
- cd db\build_win32
- C:\"Program Files (x86)"\"Microsoft Visual Studio 12.0"\Common7\IDE\devenv.exe db_dll.dsp /upgrade
- echo using devenv %DEVENV_EXE%
- '%DEVENV_EXE% db_dll.dsp /upgrade'
- msbuild /p:Configuration=Release db_dll.vcxproj
- cd ..\..
# Cyrus SASL

Loading…
Cancel
Save