-
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathappveyor.yml
More file actions
49 lines (44 loc) · 1.06 KB
/
Copy pathappveyor.yml
File metadata and controls
49 lines (44 loc) · 1.06 KB
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
49
version: '{build}'
branches:
only:
- master
clone_folder: c:\projects\klex
image:
- Visual Studio 2017
configuration:
- Release
- Debug
platform:
- x64
- x86
matrix:
fast_finish: true
# skip unsupported combinations
init:
- set arch=
- if "%PLATFORM%"=="x64" (set arch= Win64)
- echo %arch%
- echo %APPVEYOR_BUILD_WORKER_IMAGE%
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2017" ( set generator="Visual Studio 15 2017%arch%" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2015" ( set generator="Visual Studio 14 2015%arch%" )
- if "%APPVEYOR_BUILD_WORKER_IMAGE%"=="Visual Studio 2013" ( set generator="Visual Studio 12 2013%arch%" )
- echo %generator%
build_script:
- git submodule update --init --recursive
- mkdir build
- cd build
- echo %generator%
- echo %CONFIGURATION%
- cmake -G %generator% --config %CONFIGURATION% ..
- cmake --build . --config %CONFIGURATION%
test_script:
- .\%CONFIGURATION%\klex_test.exe
only_commits:
files:
- CMakeLists.txt
- appveyor.yml
- src/
- examples/
- docs/
- cmake/
- 3rdparty/