1# Copyright 2019 Glen Fernandes 2# Distributed under the Boost Software License, Version 1.0. 3 4version: 1.0.{build}-{branch} 5 6shallow_clone: true 7 8branches: 9 only: 10 - master 11 - develop 12 13environment: 14 matrix: 15 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 16 TOOLSET: msvc-9.0 17 ADDRMD: 32 18 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 19 TOOLSET: msvc-10.0 20 ADDRMD: 32 21 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 22 TOOLSET: msvc-11.0 23 ADDRMD: 32 24 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 25 TOOLSET: msvc-12.0 26 ADDRMD: 32,64 27 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 28 TOOLSET: msvc-14.0 29 ADDRMD: 32,64 30 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 31 TOOLSET: msvc-14.1 32 ADDRMD: 32,64 33 CXXSTD: 14,17 34 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 35 TOOLSET: clang-win 36 ADDRMD: 32,64 37 CXXSTD: 14,17 38 39install: 40 - set BOOST_BRANCH=develop 41 - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master 42 - cd .. 43 - git clone -b %BOOST_BRANCH% https://github.com/boostorg/boost.git boost 44 - cd boost 45 - git submodule init libs/assert 46 - git submodule init libs/config 47 - git submodule init libs/core 48 - git submodule init libs/headers 49 - git submodule init tools/build 50 - git submodule init tools/boost_install 51 - git submodule update 52 - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\io\ 53 - cmd /c bootstrap 54 - b2 headers 55 56build: off 57 58test_script: 59 - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD% 60 - if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD% 61 - b2 libs/io/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% 62