Add simple appveyor msvc build

Signed-off-by: Fabrizio Fabbri <fabrizio.fabbri@gmail.com>
This commit is contained in:
Fabrizio Fabbri 2017-02-25 14:37:02 +01:00
parent f4e25c7055
commit 93e9da255c
No known key found for this signature in database
GPG key ID: 8276EDF3D10E6C35

31
appveyor.yml Normal file
View file

@ -0,0 +1,31 @@
os: Visual Studio 2015
platform:
- amd64
- x86
configuration:
- Debug
- Release
# clone directory
clone_folder: c:\build
build_script:
- echo build_script
- cd c:\build\msvc
- if "%configuration%" == "Debug" set DEBUGFLAGS="ECL_DEBUG=1"
- if "%platform%" == "amd64" set PLATFORMFLAGS="ECL_WIN64=1"
- call "%VS140COMNTOOLS%\..\..\VC\vcvarsall.bat" %platform%
- nmake /f Makefile %DEBUGFLAGS% %PLATFORMFLAGS%
- nmake /f Makefile install %DEBUGFLAGS% %PLATFORMFLAGS%
#after_build:
# - cd c:\build\msvc
# - nmake /f Makefile windows-nsi
#artifacts:
# - path: ecl.zip
# name: ECL
deploy: off