.appveyor.yml 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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. install:
  15. - cinstall: python
  16. build:
  17. parallel: true
  18. build_script:
  19. - cd c:\projects\libigl
  20. # External libraries (boost)
  21. # - cd external
  22. # - mkdir build
  23. # - cd build
  24. # - cmake -G "Visual Studio 15 2017 Win64" -T "host=x64" ..
  25. # - msbuild %MSBuildOptions% libigl_external.sln
  26. # - cd ../..
  27. # Python bindings
  28. # - cd python
  29. # - mkdir build
  30. # - cd build
  31. # - cmake -DLIBIGL_WITH_EMBREE=OFF -DLIBIGL_USE_STATIC_LIBRARY=ON ../
  32. # - msbuild %MSBuildOptions% pyigl.sln
  33. # - cd ../tutorial
  34. # - ${PYTHON} 101_FileIO.py
  35. # - cd ../../
  36. # Tutorials and tests
  37. - mkdir build
  38. - cd build
  39. - cmake -DCMAKE_BUILD_TYPE=%config% -DLIBIGL_WITH_CGAL=ON -DLIBIGL_WITH_COMISO=OFF -DLIBIGL_BUILD_PYTHON=OFF -G "Visual Studio 15 2017 Win64" ../
  40. - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  41. - set MSBuildOptions=/v:m /p:Configuration=%config% /logger:%MSBuildLogger%
  42. - msbuild %MSBuildOptions% libigl.sln
  43. test_script:
  44. - ctest -C %config% --verbose --output-on-failure -j 2