1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- 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
- - SET PATH=C:\Python%PYTHON_VERSION%_64;%PATH%
- - mkdir build
- - cd build
- - cmake -DCMAKE_BUILD_TYPE=%config% -DLIBIGL_WITH_CGAL=ON -DLIBIGL_WITH_COMISO=OFF -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
|