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 |
Huu Nguyen | 665eeaf | 2015-12-12 23:02:45 -0500 | [diff] [blame] | 5 | configuration: |
| 6 | - Release |
| 7 | - Debug |
Wenzel Jakob | fab881c | 2015-10-18 17:04:24 +0200 | [diff] [blame] | 8 | branches: |
| 9 | only: |
| 10 | - master |
Wenzel Jakob | 42af9c2 | 2015-10-23 10:21:09 +0200 | [diff] [blame] | 11 | environment: |
| 12 | matrix: |
| 13 | - CMAKE_PLATFORM: "Visual Studio 14 2015" |
| 14 | PYTHON_DIR: "C:\\Python34" |
| 15 | - CMAKE_PLATFORM: "Visual Studio 14 2015 Win64" |
| 16 | PYTHON_DIR: "C:\\Python34-x64" |
Wenzel Jakob | fab881c | 2015-10-18 17:04:24 +0200 | [diff] [blame] | 17 | install: |
| 18 | - cinstall: python |
| 19 | build_script: |
| 20 | - echo Running cmake... |
| 21 | - cd c:\projects\pybind11 |
Wenzel Jakob | 42af9c2 | 2015-10-23 10:21:09 +0200 | [diff] [blame] | 22 | - 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] | 23 | - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll" |
Huu Nguyen | 665eeaf | 2015-12-12 23:02:45 -0500 | [diff] [blame] | 24 | - set MSBuildOptions=/v:m /p:Configuration=%Configuration% /logger:%MSBuildLogger% |
Wenzel Jakob | fab881c | 2015-10-18 17:04:24 +0200 | [diff] [blame] | 25 | - msbuild %MSBuildOptions% pybind11.sln |
Huu Nguyen | 665eeaf | 2015-12-12 23:02:45 -0500 | [diff] [blame] | 26 | - ctest -C %Configuration% |