.appveyor.yml 1.0 KB

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