Skip to content

Commit 2466836

Browse files
committed
update appveyor build to VS 2019
1 parent 35764db commit 2466836

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

appveyor.yml

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,12 @@ skip_tags: true
1515

1616
environment:
1717
matrix:
18-
- os: Visual Studio 2017
19-
VS: 15
20-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
18+
- os: Visual Studio 2019
19+
VS: 16
20+
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
21+
# - os: Visual Studio 2017
22+
# VS: 15
23+
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
2124
# - os: Visual Studio 2015
2225
# VS: 14
2326
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
@@ -76,18 +79,20 @@ install:
7679
copy c:\projects\dm\bin\coffimplib.exe c:\projects\dmd2\windows\bin
7780
# Download & install Visual D
7881
- ps: |
79-
If (-not (Test-Path 'cache\VisualD-v0.50.1.exe')) {
80-
Start-FileDownload 'https://github.com/dlang/visuald/releases/download/v0.50.1/VisualD-v0.50.1.exe' -FileName 'cache\VisualD-v0.50.1.exe'
82+
If (-not (Test-Path 'cache\VisualD-v1.3.1.exe')) {
83+
Start-FileDownload 'https://github.com/dlang/visuald/releases/download/v1.3.1/VisualD-v1.3.1.exe' -FileName 'cache\VisualD-v1.3.1.exe'
8184
}
82-
- cache\VisualD-v0.50.1.exe /S
85+
- cache\VisualD-v1.3.1.exe /S
8386
# configure DMD path
8487
- reg add "HKLM\SOFTWARE\DMD" /v InstallationFolder /t REG_SZ /d c:\projects /reg:32 /f
8588
# disable link dependencies monitoring, fails on AppVeyor server
8689
- reg add "HKLM\SOFTWARE\Microsoft\VisualStudio\14.0\ToolsOptionsPages\Projects\Visual D Settings" /v optlinkDeps /t REG_DWORD /d 0 /reg:32 /f
8790
# Set environment variables
8891
- set PATH=c:\projects\dm\bin;%PATH%
89-
- if not "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
90-
- if "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
92+
- if "%VS%" == "12" call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
93+
- if "%VS%" == "14" call "c:\Program Files (x86)\Microsoft Visual Studio %VS%.0\VC\vcvarsall.bat" x86
94+
- if "%VS%" == "15" call "c:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars32.bat"
95+
- if "%VS%" == "16" call "c:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Auxiliary\Build\vcvars32.bat"
9196
# Print environment info
9297
- set
9398
- msbuild /version

0 commit comments

Comments
 (0)