12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- version: 1.0.{build}
- os: Visual Studio 2017
- platform: x64
- clone_folder: C:\projects\libigl
- shallow_clone: true
- branches:
- only:
- - master
- - dev
- environment:
- matrix:
- - config: Debug
- BOOST_ROOT: C:/Libraries/boost_1_65_1
- PYTHON_VERSION: 37
- install:
- - cinstall: python
- build:
- parallel: true
- build_script:
- - cd c:\projects\libigl
- # External libraries (boost)
- # - cd external
- # - mkdir build
- # - cd build
- # - cmake -G "Visual Studio 15 2017 Win64" -T "host=x64" ..
- # - msbuild %MSBuildOptions% libigl_external.sln
- # - cd ../..
- # Python bindings
- # - cd python
- # - mkdir build
- # - cd build
- # - cmake -DLIBIGL_WITH_EMBREE=OFF -DLIBIGL_USE_STATIC_LIBRARY=ON ../
- # - msbuild %MSBuildOptions% pyigl.sln
- # - cd ../tutorial
- # - ${PYTHON} 101_FileIO.py
- # - cd ../../
- # Tutorials and tests
- - mkdir build
- - cd build
- - 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" ../
- - set MSBuildLogger="C:\Program Files\AppVeyor\BuildAgent\Appveyor.MSBuildLogger.dll"
- - set MSBuildOptions=/v:m /p:Configuration=%config% /logger:%MSBuildLogger%
- - msbuild %MSBuildOptions% libigl.sln
- test_script:
- - ctest -C %config% --verbose --output-on-failure -j 2
|