46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
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
|
|
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 -DLIBIGL_BUILD_PYTHON=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
|