-
Notifications
You must be signed in to change notification settings - Fork 17
/
.appveyor.yml
43 lines (33 loc) · 1010 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
40
41
42
43
# Copyright Louis Dionne 2017
# Copyright Bruno Dutra 2016
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE.md or copy at http://boost.org/LICENSE_1_0.txt)
shallow_clone: true
branches:
except:
- /pr\/.+/
- /.+/ # Temporarily disable all branches
build:
verbosity: detailed
environment:
matrix:
- MSVC: "14.0"
CMAKE_GENERATOR: "Ninja"
- MSVC: "12.0"
CMAKE_GENERATOR: "Ninja"
install:
- if "%CMAKE_GENERATOR%" equ "Ninja" (choco install ninja)
# Remove MinGW from PATH
- set PATH=%PATH:C:\MinGW\bin;=%
# Use a more recent Ruby by default.
- set PATH=C:\Ruby21-x64;C:\Ruby21-x64\bin;%PATH%
- ruby --version
before_build:
- call "C:\Program Files (x86)\Microsoft Visual Studio %MSVC%\VC\vcvarsall.bat"
- cd C:\projects\metabench
build_script:
- mkdir build
- cd build
- cmake .. -G"%CMAKE_GENERATOR%" -DBOOST_ROOT="C:\Libraries\boost_1_59_0"
- cmake --build .
- ctest --output-on-failure