1# Copyright 2017 Edward Diener 2# Copyright 2017 Cromwell D. Enage 3# Copyright 2021 Andrey Semashev 4# Distributed under the Boost Software License, Version 1.0. 5# (See accompanying file LICENSE_1_0.txt or copy at 6# http://boost.org/LICENSE_1_0.txt) 7 8version: 1.0.{build}-{branch} 9 10shallow_clone: true 11 12branches: 13 only: 14 - master 15 - develop 16 - /feature\/.*/ 17 18environment: 19 matrix: 20 - ARGS: toolset=msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0 address-model=32 21 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 22 - ARGS: toolset=msvc-14.0 address-model=32,64 cxxstd=14,latest 23 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 24 - ARGS: toolset=msvc-14.1 address-model=32,64 cxxstd=14,17,latest 25 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 26 - ARGS: toolset=msvc-14.2 address-model=32,64 cxxstd=14,17,latest 27 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019 28 - ARGS: toolset=gcc address-model=32 cxxstd=03,11,14,1z 29 PATH: C:\cygwin\bin;%PATH% 30 # Cygwin does not have python headers installed, the compiler picks up Win32 headers in C:\Python27\Include and fails 31 BOOST_PARAMETER_TEST_WITHOUT_PYTHON_TESTS: 1 32 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 33 - ARGS: toolset=gcc address-model=64 cxxstd=03,11,14,1z 34 PATH: C:\cygwin64\bin;%PATH% 35 # Cygwin64 does not have python headers installed, the compiler picks up Win32 headers in C:\Python27\Include and fails 36 BOOST_PARAMETER_TEST_WITHOUT_PYTHON_TESTS: 1 37 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 38 - ARGS: toolset=gcc address-model=32 cxxstd=03,11 linkflags=-Wl,-allow-multiple-definition 39 PATH: C:\MinGW\bin;%PATH% 40 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 41 - ARGS: toolset=gcc address-model=32 cxxstd=03,11,14 42 PATH: C:\mingw-w64\i686-5.3.0-posix-dwarf-rt_v4-rev0\mingw32\bin;%PATH% 43 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 44 - ARGS: toolset=gcc address-model=64 cxxstd=03,11,14,1z 45 PATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;%PATH% 46 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 47 - ARGS: toolset=gcc address-model=64 cxxstd=03,11,14,1z 48 PATH: C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin;%PATH% 49 APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 50 51install: 52 - set GIT_FETCH_JOBS=8 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 init tools/build 59 - git submodule init tools/boostdep 60 - git submodule init tools/boost_install 61 - git submodule init libs/headers 62 - git submodule init libs/config 63 - git submodule init libs/parameter_python 64 - git submodule update --jobs %GIT_FETCH_JOBS% 65 - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\parameter 66 - python tools/boostdep/depinst/depinst.py --git_args "--jobs %GIT_FETCH_JOBS%" parameter 67 - cmd /c bootstrap 68 - b2 headers 69 70build: off 71 72test_script: 73 - b2 -j %NUMBER_OF_PROCESSORS% libs/parameter/test %ARGS% 74