forked from boostorg/histogram
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.appveyor.yml
More file actions
37 lines (28 loc) · 1.2 KB
/
.appveyor.yml
File metadata and controls
37 lines (28 loc) · 1.2 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
# Copyright 2017-2019 Hans Dembinski
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
shallow_clone: true
image: Visual Studio 2017
build: off
branches:
only:
- master
- develop
install:
# Cloning minimal set of Boost libraries
- cd ..
- git clone -b %APPVEYOR_REPO_BRANCH% --depth 10 https://github.com/boostorg/boost.git
- cd boost
- git submodule update --init --depth 10 tools/build tools/boostdep
# Replacing Boost module with this project and installing Boost dependencies
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\histogram\
- python tools\boostdep\depinst\depinst.py -N units -N range -N accumulators --git_args "--depth 10 --jobs 2" histogram
# Adding missing toolsets and preparing Boost headers
- cmd /c bootstrap
- b2 headers
test_script:
- cd libs\histogram\test
- ..\..\..\b2 -j2 -q minimal serialization warnings-as-errors=on
on_failure:
## Uncomment the following line to stop VM and enable interactive login
# - ps: $blockRdp = $true; iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/appveyor/ci/master/scripts/enable-rdp.ps1'))