forked from shogun-toolbox/shogun
-
Notifications
You must be signed in to change notification settings - Fork 0
/
appveyor.yml
40 lines (31 loc) · 1016 Bytes
/
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
version: "{build}"
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
VSVER: Visual Studio 14 2015 Win64
PYTHON: "C:\\Python27"
# disable multiple builds until each build takes more than 30 minutes
# - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# VSVER: Visual Studio 15 2017 Win64
platform:
- x64
configuration:
- Release
install:
- git submodule -q update --init
before_build:
- md %APPVEYOR_BUILD_FOLDER%\build
- cd %APPVEYOR_BUILD_FOLDER%\build
- cmake -G"%VSVER%" -DCMAKE_BUILD_TYPE=%CONFIGURATION% -DBUILD_META_EXAMPLES=OFF -DENABLE_TESTING=ON ..
build:
verbosity: minimal
# TODO: fix cmake script in order that building examples
# triggers the build of shogun-static.vcxproj
build_script:
- msbuild src\shogun\libshogun.vcxproj
- msbuild src\shogun\shogun.vcxproj
- msbuild src\shogun\shogun-static.vcxproj
- msbuild shogun.sln
test_script:
- cd %APPVEYOR_BUILD_FOLDER%\build
- ctest --output-on-failure -C %CONFIGURATION%