-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathappveyor.yml
55 lines (45 loc) · 1.18 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
# GENERAL CONFIGURATION #
#version format
version: '1.0.{build}'
#branches to build
branches:
only:
- master
- develop
#don't build on tags
skip_tags: true
cache: c:\tools\vcpkg\installed\
# ENVIRONMENT CONFIGURATION #
clone_folder: c:\%PROJECT_NAME%
shallow_clone: true
clone_depth: 5
environment:
PROJECT_NAME: maximum-independent-set-parallel
matrix:
- id: msvc-x86
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: x86
compiler: msvc-15
generator: "Visual Studio 15 2017"
- id: msvc-x64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
platform: x64
compiler: msvc-15
generator: "Visual Studio 15 2017 Win64"
configuration:
- Release
install:
- vcpkg install boost-graph:%platform%-windows boost-thread:%platform%-windows gtest:%platform%-windows
#the build fail once the job fails
matrix:
fast_finish: true
# BUILD CONFIGURATION #
build_script:
- cd c:\%PROJECT_NAME%\
- md build
- cd build
- cmake .. -G "%generator%" -DCMAKE_TOOLCHAIN_FILE=c:/tools/vcpkg/scripts/buildsystems/vcpkg.cmake
- cmake --build . --config %configuration%
# TEST CONFIGURATION #
test_script:
- ctest -C %configuration% --output-on-failure