mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-29 08:32:02 +00:00
27 lines
781 B
YAML
27 lines
781 B
YAML
version: 1.0.{build}
|
|
os: Visual Studio 2015
|
|
clone_folder: C:\projects\pybind11
|
|
test: off
|
|
configuration:
|
|
- Release
|
|
- Debug
|
|
branches:
|
|
only:
|
|
- master
|
|
environment:
|
|
matrix:
|
|
- CMAKE_PLATFORM: "Visual Studio 14 2015"
|
|
PYTHON_DIR: "C:\\Python34"
|
|
CTEST_OUTPUT_ON_FAILURE: 1
|
|
- CMAKE_PLATFORM: "Visual Studio 14 2015 Win64"
|
|
PYTHON_DIR: "C:\\Python34-x64"
|
|
CTEST_OUTPUT_ON_FAILURE: 1
|
|
install:
|
|
- cinstall: python
|
|
build_script:
|
|
- echo Running cmake...
|
|
- cd c:\projects\pybind11
|
|
- cmake -G "%CMAKE_PLATFORM%" -DPYTHON_EXECUTABLE:FILEPATH=%PYTHON_DIR%/python.exe
|
|
- set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
|
|
- cmake --build . --config %Configuration% --target check -- /v:m /logger:%MSBuildLogger%
|