Add debug appveyor configuration

This commit is contained in:
Huu Nguyen 2015-12-12 23:02:45 -05:00
parent bda3b67dc5
commit 665eeafd44
1 changed files with 5 additions and 2 deletions

View File

@ -2,6 +2,9 @@ version: 1.0.{build}
os: Visual Studio 2015
clone_folder: C:\projects\pybind11
test: off
configuration:
- Release
- Debug
branches:
only:
- master
@ -18,6 +21,6 @@ build_script:
- cd c:\projects\pybind11
- cmake -G "%CMAKE_PLATFORM%" -DPYTHON_INCLUDE_DIR:PATH=%PYTHON_DIR%/include -DPYTHON_LIBRARY:FILEPATH=%PYTHON_DIR%/libs/python34.lib -DPYTHON_EXECUTABLE:FILEPATH=%PYTHON_DIR%/python.exe
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- set MSBuildOptions=/v:m /p:Configuration=Release /logger:%MSBuildLogger%
- set MSBuildOptions=/v:m /p:Configuration=%Configuration% /logger:%MSBuildLogger%
- msbuild %MSBuildOptions% pybind11.sln
- ctest -C "Release"
- ctest -C %Configuration%