Wenzel Jakob | fab881c | 2015-10-18 17:04:24 +0200 | [diff] [blame] | 1 | version: 1.0.{build} |
| 2 | os: Visual Studio 2015 |
| 3 | clone_folder: C:\projects\pybind11 |
Wenzel Jakob | 42af9c2 | 2015-10-23 10:21:09 +0200 | [diff] [blame] | 4 | test: off |
Wenzel Jakob | fab881c | 2015-10-18 17:04:24 +0200 | [diff] [blame] | 5 | branches: |
| 6 | only: |
| 7 | - master |
Wenzel Jakob | 42af9c2 | 2015-10-23 10:21:09 +0200 | [diff] [blame] | 8 | environment: |
| 9 | matrix: |
| 10 | - CMAKE_PLATFORM: "Visual Studio 14 2015" |
| 11 | PYTHON_DIR: "C:\\Python34" |
| 12 | - CMAKE_PLATFORM: "Visual Studio 14 2015 Win64" |
| 13 | PYTHON_DIR: "C:\\Python34-x64" |
Wenzel Jakob | fab881c | 2015-10-18 17:04:24 +0200 | [diff] [blame] | 14 | install: |
| 15 | - cinstall: python |
| 16 | build_script: |
| 17 | - echo Running cmake... |
| 18 | - cd c:\projects\pybind11 |
Wenzel Jakob | 42af9c2 | 2015-10-23 10:21:09 +0200 | [diff] [blame] | 19 | - 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 |
Wenzel Jakob | fab881c | 2015-10-18 17:04:24 +0200 | [diff] [blame] | 20 | - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" |
| 21 | - set MSBuildOptions=/v:m /p:Configuration=Release /logger:%MSBuildLogger% |
| 22 | - msbuild %MSBuildOptions% pybind11.sln |
| 23 | - ctest -C "Release" |