.appveyor.yml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. version: 1.0.{build}
  2. os: Visual Studio 2017
  3. platform: x64
  4. clone_folder: C:\projects\libigl
  5. shallow_clone: true
  6. branches:
  7. only:
  8. - master
  9. - dev
  10. environment:
  11. matrix:
  12. - config: Debug
  13. BOOST_ROOT: C:/Libraries/boost_1_65_1
  14. PYTHON_VERSION: 37
  15. install:
  16. - cinstall: python
  17. build:
  18. parallel: true
  19. build_script:
  20. - cd c:\projects\libigl
  21. # External libraries (boost)
  22. # - cd external
  23. # - mkdir build
  24. # - cd build
  25. # - cmake -G "Visual Studio 15 2017 Win64" -T "host=x64" ..
  26. # - msbuild %MSBuildOptions% libigl_external.sln
  27. # - cd ../..
  28. # Python bindings
  29. # - cd python
  30. # - mkdir build
  31. # - cd build
  32. # - cmake -DLIBIGL_WITH_EMBREE=OFF -DLIBIGL_USE_STATIC_LIBRARY=ON ../
  33. # - msbuild %MSBuildOptions% pyigl.sln
  34. # - cd ../tutorial
  35. # - ${PYTHON} 101_FileIO.py
  36. # - cd ../../
  37. # Tutorials and tests
  38. - mkdir build
  39. - cd build
  40. - cmake -DCMAKE_BUILD_TYPE=%config% -DLIBIGL_WITH_CGAL=ON -DLIBIGL_WITH_COMISO=OFF -DPYTHON_EXECUTABLE="C:\Python%PYTHON_VERSION%_64\python.exe" -G "Visual Studio 15 2017 Win64" ../
  41. - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  42. - set MSBuildOptions=/v:m /p:Configuration=%config% /logger:%MSBuildLogger%
  43. - msbuild %MSBuildOptions% libigl.sln
  44. test_script:
  45. - ctest -C %config% --verbose --output-on-failure -j 2