.appveyor.yml 898 B

12345678910111213141516171819202122232425262728293031323334
  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. - CONFIG: Release
  15. BOOST_ROOT: C:/Libraries/boost_1_65_1
  16. build:
  17. parallel: true
  18. build_script:
  19. - cd c:\projects\libigl
  20. # Tutorials and tests
  21. - mkdir build
  22. - cd build
  23. - cmake -DCMAKE_BUILD_TYPE=%CONFIG%
  24. -DLIBIGL_WITH_CGAL=ON
  25. -DLIBIGL_WITH_COMISO=OFF
  26. -G "Visual Studio 15 2017 Win64"
  27. ../
  28. - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
  29. - set MSBuildOptions=/v:m /m /p:BuildInParallel=true /p:Configuration=%CONFIG% /logger:%MSBuildLogger%
  30. - msbuild %MSBuildOptions% libigl.sln
  31. test_script:
  32. - set CTEST_OUTPUT_ON_FAILURE=1
  33. - ctest -C %CONFIG% --verbose --output-on-failure -j 2