1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191
|
# Copyright 2016, 2017 Peter Dimov
# Copyright 2020 Andrey Semashev
# Distributed under the Boost Software License, Version 1.0.
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
# When copying this to a new library, be sure to update the name of the library
# in two places (once each at the top of install: and test_script:)
version: 1.0.{build}-{branch}
shallow_clone: true
branches:
only:
- develop
- master
matrix:
allow_failures:
- MAYFAIL: true
environment:
global:
# see: http://www.boost.org/build/doc/html/bbv2/overview/invocation.html#bbv2.overview.invocation.properties
# to use the default for a given environment, comment it out; recommend you build debug and release however..
# on Windows it is important to exercise all the possibilities, especially shared vs static
# B2_LINK: link=shared,static
B2_ADDRESS_MODEL: address-model=64,32
B2_THREADING: threading=multi
B2_VARIANT: variant=debug
matrix:
# test UWP Windows SDK 10
- COMMENT: UWP _WIN32_WINNT=0x0A00 (WIN10) DESKTOP
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0A00" define="WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: UWP _WIN32_WINNT=0x0A00 (WIN10) SYSTEM
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0A00" define="WINAPI_FAMILY=WINAPI_FAMILY_SYSTEM"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: UWP _WIN32_WINNT=0x0A00 (WIN10) PHONE
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0A00" define="WINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: UWP _WIN32_WINNT=0x0A00 (WIN10) APP
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0A00" define="WINAPI_FAMILY=WINAPI_FAMILY_PC_APP"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
# test UWP Windows SDK 8.1 (Visual Studio 2013)
- COMMENT: UWP _WIN32_WINNT=0x0603 (WIN8) DESKTOP
TOOLSET: msvc-12.0
DEFINES: define="_WIN32_WINNT=0x0603" define="WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: UWP _WIN32_WINNT=0x0603 (WIN8) PHONE
TOOLSET: msvc-12.0
DEFINES: define="_WIN32_WINNT=0x0603" define="WINAPI_FAMILY=WINAPI_FAMILY_PHONE_APP"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: UWP _WIN32_WINNT=0x0603 (WIN8) APP
TOOLSET: msvc-12.0
DEFINES: define="_WIN32_WINNT=0x0603" define="WINAPI_FAMILY=WINAPI_FAMILY_PC_APP"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# test UWP Windows SDK 8.0 (Visual Studio 2012)
- COMMENT: UWP _WIN32_WINNT=0x0602 (WIN8) DESKTOP
TOOLSET: msvc-11.0
B2_ADDRESS_MODEL: address-model=32 # Appveyor installation of this compiler only supports 32 bits
DEFINES: define="_WIN32_WINNT=0x0602" define="WINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: UWP _WIN32_WINNT=0x0602 (WIN8) APP
TOOLSET: msvc-11.0
B2_ADDRESS_MODEL: address-model=32 # Appveyor installation of this compiler only supports 32 bits
DEFINES: define="_WIN32_WINNT=0x0602" define="WINAPI_FAMILY=WINAPI_FAMILY_APP"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# test older compilers, stock settings
- COMMENT: Visual Studio 2008
TOOLSET: msvc-9.0
B2_ADDRESS_MODEL: address-model=32 # Appveyor installation of this compiler only supports 32 bits
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: Visual Studio 2010
TOOLSET: msvc-10.0
B2_ADDRESS_MODEL: address-model=32 # Appveyor installation of this compiler only supports 32 bits
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: Visual Studio 2012
TOOLSET: msvc-11.0
B2_ADDRESS_MODEL: address-model=32 # Appveyor installation of this compiler only supports 32 bits
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: Visual Studio 2013
TOOLSET: msvc-12.0
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: Visual Studio 2015
TOOLSET: msvc-14.0
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: Visual Studio 2017
TOOLSET: msvc-14.1
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- COMMENT: Visual Studio 2017 (clang-cl)
TOOLSET: clang-win
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
- COMMENT: Cygwin
TOOLSET: gcc
B2_ADDRESS_MODEL: address-model=32 # 32-bit Cygwin only supports 32 bits
ADDPATH: C:\cygwin\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: Cygwin 64
TOOLSET: gcc
B2_ADDRESS_MODEL: address-model=64 # Appveyor installation of 64-bit Cygwin only supports 64 bits
ADDPATH: C:\cygwin64\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: MinGW
TOOLSET: gcc
B2_ADDRESS_MODEL: address-model=32 # Legacy MinGW only supports 32 bits
ADDPATH: C:\mingw\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: MinGW-w64 gcc 6 64-bit
TOOLSET: gcc
B2_ADDRESS_MODEL: address-model=64
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: MinGW-w64 gcc 6 32-bit
TOOLSET: gcc
B2_ADDRESS_MODEL: address-model=32
ADDPATH: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\mingw32\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- COMMENT: MinGW-w64 gcc 7 64-bit
TOOLSET: gcc
B2_ADDRESS_MODEL: address-model=64
ADDPATH: C:\mingw-w64\x86_64-7.3.0-posix-seh-rt_v5-rev0\mingw64\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# test platform targets
- COMMENT: _WIN32_WINNT=0x0400 (NT4)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0400"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: _WIN32_WINNT=0x0500 (2K)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0500"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: _WIN32_WINNT=0x0501 (XP)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0501"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: _WIN32_WINNT=0x0502 (WS03)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0502"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: _WIN32_WINNT=0x0600 (VISTA/WS08)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0600"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: _WIN32_WINNT=0x0601 (WIN7)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0601"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: _WIN32_WINNT=0x0602 (WIN8)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0602"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: _WIN32_WINNT=0x0603 (WIN8.1)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0603"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
- COMMENT: _WIN32_WINNT=0x0A00 (WIN10)
TOOLSET: msvc-14.2
DEFINES: define="_WIN32_WINNT=0x0A00"
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
install:
- set SELF=winapi
- set GIT_FETCH_JOBS=8
- cd ..
- git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule init tools/boostdep
- git submodule init tools/build
- git submodule init tools/boost_install
- git submodule init libs/headers
- git submodule init libs/config
- git submodule update --jobs %GIT_FETCH_JOBS%
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\%SELF%
- python tools/boostdep/depinst/depinst.py --git_args "--jobs %GIT_FETCH_JOBS%" %SELF%
- cmd /c bootstrap
- b2 headers
build: off
test_script:
- set SELF=winapi
- PATH=%ADDPATH%;%PATH%
- echo %PATH%
- echo b2 -j %NUMBER_OF_PROCESSORS% libs/%SELF%/test toolset=%TOOLSET% %CXXFLAGS% %DEFINES% %B2_ADDRESS_MODEL% %B2_LINK% %B2_THREADING% %B2_VARIANT%
- b2 -j %NUMBER_OF_PROCESSORS% libs/%SELF%/test toolset=%TOOLSET% %CXXFLAGS% %DEFINES% %B2_ADDRESS_MODEL% %B2_LINK% %B2_THREADING% %B2_VARIANT%
|