1# Copyright 2016-2019 Peter Dimov
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
4
5version: 1.0.{build}-{branch}
6
7shallow_clone: true
8
9branches:
10  only:
11    - master
12    - develop
13    - /feature\/.*/
14
15environment:
16  matrix:
17    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
18      TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0
19      ADDRMD: 32
20    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
21      TOOLSET: msvc-12.0,msvc-14.0
22      ADDRMD: 32,64
23    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
24      TOOLSET: msvc-14.1
25      CXXSTD: 14,17
26      ADDRMD: 32,64
27    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
28      TOOLSET: clang-win
29      CXXSTD: 14,17
30      ADDRMD: 64
31    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
32      TOOLSET: msvc-14.2
33      CXXSTD: 14,17
34      ADDRMD: 32,64
35    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
36      ADDPATH: C:\cygwin\bin;
37      TOOLSET: gcc
38      CXXSTD: 03,11,14,1z
39    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
40      ADDPATH: C:\cygwin64\bin;
41      TOOLSET: gcc
42      CXXSTD: 03,11,14,1z
43    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
44      ADDPATH: C:\mingw\bin;
45      TOOLSET: gcc
46      CXXSTD: 03,11,14,1z
47    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
48      ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;
49      TOOLSET: gcc
50      CXXSTD: 03,11,14,1z
51
52install:
53  - set BOOST_BRANCH=develop
54  - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
55  - cd ..
56  - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
57  - cd boost-root
58  - git submodule update --init tools/boostdep
59  - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\system\
60  - python tools/boostdep/depinst/depinst.py system
61  - cmd /c bootstrap
62  - b2 -d0 headers
63
64build: off
65
66test_script:
67  - PATH=%ADDPATH%%PATH%
68  - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
69  - if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
70  - b2 -j3 libs/system/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release
71