Skip to content

Commit 6ce1bcb

Browse files
committed
add appveyor.yml: test both vc2015 and vc2017
1 parent 4b475ac commit 6ce1bcb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

appveyor.yml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
version: 1.0.{build}
2+
image:
3+
- Visual Studio 2017
4+
- Visual Studio 2015
5+
build_script:
6+
- cmd: >-
7+
if "Visual Studio 2017"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
8+
if "Visual Studio 2015"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
9+
if "Visual Studio 2015"=="%APPVEYOR_BUILD_WORKER_IMAGE%" call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
10+
nmake -f makefile.msvc all
11+
test.exe

0 commit comments

Comments
 (0)