2015-10-18 15:04:24 +00:00
|
|
|
version: 1.0.{build}
|
|
|
|
os: Visual Studio 2015
|
|
|
|
clone_folder: C:\projects\pybind11
|
2015-10-23 08:21:09 +00:00
|
|
|
test: off
|
2015-12-13 04:02:45 +00:00
|
|
|
configuration:
|
|
|
|
- Release
|
|
|
|
- Debug
|
2015-10-18 15:04:24 +00:00
|
|
|
branches:
|
|
|
|
only:
|
|
|
|
- master
|
2015-10-23 08:21:09 +00:00
|
|
|
environment:
|
|
|
|
matrix:
|
|
|
|
- CMAKE_PLATFORM: "Visual Studio 14 2015"
|
|
|
|
PYTHON_DIR: "C:\\Python34"
|
|
|
|
- CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
|
|
|
|
PYTHON_DIR: "C:\\Python34-x64"
|
2015-10-18 15:04:24 +00:00
|
|
|
install:
|
|
|
|
- cinstall: python
|
|
|
|
build_script:
|
|
|
|
- echo Running cmake...
|
|
|
|
- cd c:\projects\pybind11
|
2015-10-23 08:21:09 +00:00
|
|
|
- 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
|
2015-10-18 15:04:24 +00:00
|
|
|
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
2015-12-13 04:02:45 +00:00
|
|
|
- set MSBuildOptions=/v:m /p:Configuration=%Configuration% /logger:%MSBuildLogger%
|
2015-10-18 15:04:24 +00:00
|
|
|
- msbuild %MSBuildOptions% pybind11.sln
|
2015-12-13 04:02:45 +00:00
|
|
|
- ctest -C %Configuration%
|