forked from polatory/polatory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
48 lines (36 loc) · 1.16 KB
/
appveyor.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
branches:
only:
- master
image: Visual Studio 2017
environment:
CONDA_DIR: C:\Miniconda-x64
VCPKG_DIR: C:\Tools\vcpkg
init:
- ps: Get-WmiObject Win32_OperatingSystem
- ps: Get-WmiObject Win32_Processor
- vcpkg version
clone_folder: C:\projects\polatory
shallow_clone: true
matrix:
fast_finish: true
cache:
- C:\Tools\vcpkg\installed
install:
- C:\Miniconda-x64\Scripts\conda install mkl-devel=2018.0 -y -c intel
- echo set(VCPKG_BUILD_TYPE release) >> %VCPKG_DIR%\triplets\x64-windows.cmake
- vcpkg install ceres flann eigen3 gtest --triplet x64-windows
before_build:
- call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
- cmake --version
- ninja --version
- cl /Bv || cmd /c exit 0
- mkdir build && cd build
build_script:
- cmake .. -GNinja -DCMAKE_TOOLCHAIN_FILE=%VCPKG_DIR%\scripts\buildsystems\vcpkg.cmake -DBOOST_ROOT=C:\Libraries\boost_1_67_0 -DUSE_PREBUILT_BOOST=ON
- ninja
test_script:
- ctest -VV
notifications:
- provider: Slack
incoming_webhook:
secure: eZ62G+Wy8+cxwZX9zxzx8KLypeWss82zviuRSuNBYTwq0eGHzXyo5JsmpW6TUlJGm1a5TUxcyzihv6c01p44ffgOJZTJX0UU1CxTgQ2xgXc=