-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.appveyor.yml
66 lines (51 loc) · 1.51 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
#...............................................................................
#
# This file is part of the Graco toolkit.
#
# Graco is distributed under the MIT license.
# For details see accompanying license.txt file,
# the public copy of which is also available at:
# http://tibbo.com/downloads/archive/graco/license.txt
#
#...............................................................................
branches:
only:
- master
image: Visual Studio 2015
init:
- git config --global core.autocrlf input
clone_folder: c:\projects\graco
shallow_clone: true
matrix:
fast_finish: false
platform:
- x64
- x86
configuration:
- Debug
- Release
environment:
matrix:
- TOOLCHAIN: msvc10
- TOOLCHAIN: msvc12
- TOOLCHAIN: msvc14
install:
- call ci\appveyor\set-env.bat %TOOLCHAIN% %PLATFORM%
- call ci\appveyor\install.bat
- git clone --depth 1 /~https://github.com/vovkos/axl
build_script:
- set THIS_DIR=%CD%
- set THIS_DIR_CMAKE=%THIS_DIR:\=/%
- mkdir axl\build
- cd axl\build
- cmake .. %CMAKE_CONFIGURE_FLAGS%
- cmake --build . %CMAKE_BUILD_FLAGS%
- cd %THIS_DIR%
- echo set (AXL_CMAKE_DIR %THIS_DIR_CMAKE%/axl/cmake %THIS_DIR_CMAKE%/axl/build/cmake) >> paths.cmake
- mkdir build
- cd build
- cmake .. %CMAKE_CONFIGURE_FLAGS%
- cmake --build . %CMAKE_BUILD_FLAGS%
- ps: Add-AppveyorMessage "APPVEYOR_REPO_COMMIT=$env:APPVEYOR_REPO_COMMIT"
test_script:
- ctest -C %CONFIGURATION% --output-on-failure