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 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 20 TOOLSET: msvc-12.0,msvc-14.0 21 ADDRMD: 32,64 22 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 23 TOOLSET: msvc-14.1 24 CXXSTD: 14,17 25 ADDRMD: 32,64 26 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 27 TOOLSET: clang-win 28 CXXSTD: 14,17 29 ADDRMD: 64 30 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 31 TOOLSET: msvc-14.2 32 CXXSTD: 14,17 33 ADDRMD: 32,64 34 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 35 ADDPATH: C:\cygwin\bin; 36 TOOLSET: gcc 37 CXXSTD: 03,11,14,1z 38 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 39 ADDPATH: C:\mingw\bin; 40 TOOLSET: gcc 41 CXXSTD: 03,11,14,1z 42 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 43 ADDPATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin; 44 TOOLSET: gcc 45 CXXSTD: 03,11,14,1z 46 47install: 48 - set BOOST_BRANCH=develop 49 - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master 50 - cd .. 51 - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root 52 - cd boost-root 53 - git submodule update --init tools/build 54 - git submodule update --init tools/boost_install 55 - git submodule update --init libs/config 56 - git submodule update --init libs/headers 57 - git submodule update --init tools/boostdep 58 - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\exception\ 59 - python tools/boostdep/depinst/depinst.py exception 60 - cmd /c bootstrap 61 - b2 headers 62 63build: off 64 65test_script: 66 - PATH=%ADDPATH%%PATH% 67 - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD% 68 - if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD% 69 - b2 -j3 libs/exception/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release 70