-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.appveyor.yml
36 lines (32 loc) · 1.06 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
build: off
notifications:
- provider: Email
on_build_success: false
on_build_failure: true
on_build_status_changed: false
environment:
matrix:
- PRJ_GEN: "Visual Studio 12 2013 Win64"
BDIR: msvc2013
TARGET: x64
- PRJ_GEN: "Visual Studio 14 2015 Win64"
BDIR: msvc2015
TARGET: x64
- PRJ_GEN: "Visual Studio 12 2013"
BDIR: msvc2013
TARGET: x86
- PRJ_GEN: "Visual Studio 14 2015"
BDIR: msvc2015
TARGET: x86
build_script:
- mkdir build.%BDIR% && cd build.%BDIR%
- cmake .. -G"%PRJ_GEN%"
-DCMAKE_BUILD_TYPE=Release
-DCMAKE_INSTALL_PREFIX=%APPVEYOR_BUILD_FOLDER%
- cmake --build . --config Release --target install
- ctest -V --output-on-failure -C Release
test_script:
- if NOT exist %APPVEYOR_BUILD_FOLDER%\lib\chi2comb.lib exit 1
- if NOT exist %APPVEYOR_BUILD_FOLDER%\bin\chi2comb.dll exit 1
- if NOT exist %APPVEYOR_BUILD_FOLDER%\lib\chi2comb_static.lib exit 1
- if NOT exist %APPVEYOR_BUILD_FOLDER%\include\chi2comb.h exit 1