-
Notifications
You must be signed in to change notification settings - Fork 71
/
.appveyor.yml
38 lines (29 loc) · 1.12 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
# 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
max_jobs: 2
image:
- Visual Studio 2022
branches:
only:
- master
- develop
build: off
environment:
B2_OPTS: -j2 -q warnings-as-errors=on
install:
# clone minimal set of Boost libraries
- cd ..
- git clone -b %APPVEYOR_REPO_BRANCH% --depth 5 https://github.com/boostorg/boost.git
- cd boost
- git submodule update --init --depth 5 tools/build tools/boostdep
# replace Boost library with this project and install 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 5 --jobs 2" histogram
# prepare Boost build
- cmd /c bootstrap & cd libs\histogram
test_script:
# cxxstd=latest (aka 20) breaks VS 2022 in algorithm_project_test so we use cxxstd=17
# msvc-14.3 breaks test//serialization, more precisely axis_variant_serialization_test
- ..\..\b2 %B2_OPTS% cxxstd=17 test//minimal