-
Notifications
You must be signed in to change notification settings - Fork 3
/
appveyor.yml
34 lines (26 loc) · 1013 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
version: 3.0.{build}
configuration:
- Debug
- Release
install:
- cinst cmake
clone_depth: 1
branches:
only:
- vmf-3.0
before_build:
- mkdir _build
- cd _build
- set VMF_SHARED=ON
- set CMAKE_GENERATOR=Visual Studio 12 2013 Win64
- if "%CONFIGURATION%"=="Debug" set VMF_SHARED=OFF
- if "%CONFIGURATION%"=="Debug" set CMAKE_GENERATOR=Visual Studio 12 2013
- echo cmake -G "%CMAKE_GENERATOR%" -DBUILD_TESTS=ON -DBUILD_SAMPLES=ON -DBUILD_QT_SAMPLES=OFF -DBUILD_SHARED_LIBS=%VMF_SHARED% ..
- cmake -G "%CMAKE_GENERATOR%" -DBUILD_TESTS=ON -DBUILD_SAMPLES=ON -DBUILD_QT_SAMPLES=OFF -DBUILD_SHARED_LIBS=%VMF_SHARED% ..
build_script:
- cmake --build . --target INSTALL --config %CONFIGURATION% -- /m /v:m
on_success:
- bin\%CONFIGURATION%\unit-tests.exe
- bin\%CONFIGURATION%\unit-tests-ds.exe
- if exist bin\\vmf_java.jar (cd bin && java -Djava.library.path=%CONFIGURATION% -cp .;vmf_java.jar;vmf_java_test.jar;junit-4.11.jar org.junit.runner.JUnitCore VmfTestSuite)
test: off