You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

26 lines
883 B

  1. version: 1.0.{build}
  2. os: Visual Studio 2015
  3. clone_folder: C:\projects\pybind11
  4. test: off
  5. configuration:
  6. - Release
  7. - Debug
  8. branches:
  9. only:
  10. - master
  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"
  17. install:
  18. - cinstall: python
  19. build_script:
  20. - echo Running cmake...
  21. - cd c:\projects\pybind11
  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
  23. - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  24. - set MSBuildOptions=/v:m /p:Configuration=%Configuration% /logger:%MSBuildLogger%
  25. - msbuild %MSBuildOptions% pybind11.sln
  26. - ctest -C %Configuration%