1# Copyright 2016, 2017 Peter Dimov
2# Copyright 2017-2018 Kohei Takahashi
3# Distributed under the Boost Software License, Version 1.0.
4# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
5
6version: 1.0.{build}-{branch}
7
8shallow_clone: true
9
10environment:
11  matrix:
12    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
13      TOOLSET: msvc-9.0
14      CXXSTD: latest # fake
15    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
16      TOOLSET: msvc-10.0
17      CXXSTD: latest # fake
18    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
19      TOOLSET: msvc-11.0
20      CXXSTD: latest # fake
21    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
22      TOOLSET: msvc-12.0
23      CXXSTD: latest # fake
24    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
25      TOOLSET: msvc-14.0
26      CXXSTD: 14
27    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
28      TOOLSET: msvc-14.0
29      CXXSTD: latest
30    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
31      TOOLSET: msvc-14.1
32      CXXSTD: 14
33    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
34      TOOLSET: msvc-14.1
35      CXXSTD: 17
36    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
37      TOOLSET: msvc-14.1
38      CXXSTD: latest
39    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
40      TOOLSET: clang-win
41      CXXSTD: 14
42    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
43      TOOLSET: clang-win
44      CXXSTD: 17
45
46install:
47  - set BOOST_BRANCH=develop
48  - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
49  - cd ..
50  - git clone --depth 1 -b %BOOST_BRANCH% https://github.com/boostorg/boost.git boost-root
51  - cd boost-root
52
53  - git submodule init libs/array
54  - git submodule init libs/assert
55  - git submodule init libs/bind
56  - git submodule init libs/concept_check
57  - git submodule init libs/config
58  - git submodule init libs/container_hash
59  - git submodule init libs/conversion
60  - git submodule init libs/core
61  - git submodule init libs/detail
62  - git submodule init libs/function
63  - git submodule init libs/function_types
64  - git submodule init libs/functional
65  - git submodule init libs/integer
66  - git submodule init libs/iterator
67  - git submodule init libs/lambda
68  - git submodule init libs/move
69  - git submodule init libs/mpl
70  - git submodule init libs/optional
71  - git submodule init libs/predef
72  - git submodule init libs/preprocessor
73  - git submodule init libs/smart_ptr
74  - git submodule init libs/static_assert
75  - git submodule init libs/throw_exception
76  - git submodule init libs/tuple
77  - git submodule init libs/type_index
78  - git submodule init libs/type_traits
79  - git submodule init libs/typeof
80  - git submodule init libs/utility
81
82  - git submodule init libs/headers tools/boost_install tools/build
83  - git submodule update
84  - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\fusion
85  - cmd /c bootstrap
86  - b2 headers
87
88build: off
89
90test_script:
91  - b2 -j%NUMBER_OF_PROCESSORS% --hash libs/fusion/test toolset=%TOOLSET% cxxstd=%CXXSTD%
92