diff options
author | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-05-24 10:02:31 +0200 |
---|---|---|
committer | ROUVREAU Vincent <vincent.rouvreau@inria.fr> | 2019-05-24 10:02:31 +0200 |
commit | e7e7d844c7c0bc6cfc21e0cce21ee678974ed3ec (patch) | |
tree | 77781c2e1401bf9484f0f8209a18eeaf5f9eaab1 | |
parent | 557ae9204427d29533516544f1986f31b8644ff4 (diff) |
Test appveyor
-rw-r--r-- | .appveyor.yml | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..688ea721 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,44 @@ +image: + - Visual Studio 2017 + +build: + parallel: true + verbosity: detailed + +configuration: + - Release + +environment: + # update the vcpkg cache even if build fails + APPVEYOR_SAVE_CACHE_ON_ERROR: true + + matrix: + - target: Examples + CMAKE_FLAGS: -DWITH_GUDHI_EXAMPLE=ON -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=OFF + + - target: UnitaryTests + CMAKE_FLAGS: -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=ON -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=OFF + + - target: Utilities + CMAKE_FLAGS: -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=ON -DWITH_GUDHI_PYTHON=OFF + + - target: Python + CMAKE_FLAGS: -DWITH_GUDHI_EXAMPLE=OFF -DWITH_GUDHI_TEST=OFF -DWITH_GUDHI_UTILITIES=OFF -DWITH_GUDHI_PYTHON=ON + +cache: + - c:\Tools\vcpkg\installed + - '%LOCALAPPDATA%\pip\Cache' + +init: + - echo %target% + +install: + - vcpkg install eigen3:x64-windows cgal:x64-windows + - pip install -U setuptools numpy matplotlib scipy Cython pytest sphinx sphinxcontrib-bibtex + +build_script: + - mkdir build + - cd build + - cmake -G "Visual Studio 15 2017 Win64" %CMAKE_FLAGS% -DCMAKE_TOOLCHAIN_FILE=c:/Tools/vcpkg/scripts/buildsystems/vcpkg.cmake .. + - cmake --build . --config Release + - cmake --build . --config Release --target check |