2020-03-25 02:31:15 +02:00
|
|
|
# Copyright 2016-2020 Peter Dimov
|
2016-05-21 16:27:41 +03:00
|
|
|
# Distributed under the Boost Software License, Version 1.0.
|
2016-05-21 18:15:41 +03:00
|
|
|
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
|
2016-05-21 16:27:41 +03:00
|
|
|
|
2016-05-21 17:53:43 +03:00
|
|
|
version: 1.0.{build}-{branch}
|
|
|
|
|
|
2016-05-21 16:27:41 +03:00
|
|
|
shallow_clone: true
|
|
|
|
|
|
|
|
|
|
branches:
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
- develop
|
2017-11-06 00:52:07 +02:00
|
|
|
- /feature\/.*/
|
|
|
|
|
|
|
|
|
|
environment:
|
|
|
|
|
matrix:
|
2019-04-14 18:32:29 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2019-04-01 21:21:04 +03:00
|
|
|
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0
|
2017-11-06 00:52:07 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2019-04-01 21:21:04 +03:00
|
|
|
TOOLSET: msvc-12.0,msvc-14.0
|
|
|
|
|
ADDRESS_MODEL: 32,64
|
2017-11-06 00:52:07 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
2019-04-01 21:21:04 +03:00
|
|
|
TOOLSET: msvc-14.1,clang-win
|
2017-11-06 02:26:55 +02:00
|
|
|
CXXSTD: 14,17
|
2019-04-01 21:21:04 +03:00
|
|
|
ADDRESS_MODEL: 32,64
|
2020-03-25 02:31:15 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
|
TOOLSET: msvc-14.2
|
2020-06-30 03:13:48 +03:00
|
|
|
CXXSTD: 14,17,latest
|
2020-03-25 02:31:15 +02:00
|
|
|
ADDRESS_MODEL: 32,64
|
2019-04-14 18:32:29 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2019-04-01 21:21:04 +03:00
|
|
|
ADDPATH: C:\cygwin\bin;
|
|
|
|
|
TOOLSET: gcc
|
|
|
|
|
CXXSTD: 03,11,14,1z
|
2019-04-14 18:32:29 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2019-04-01 21:21:04 +03:00
|
|
|
ADDPATH: C:\cygwin64\bin;
|
|
|
|
|
TOOLSET: gcc
|
|
|
|
|
CXXSTD: 03,11,14,1z
|
2019-04-14 18:32:29 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2019-04-01 21:21:04 +03:00
|
|
|
ADDPATH: C:\mingw\bin;
|
|
|
|
|
TOOLSET: gcc
|
|
|
|
|
CXXSTD: 03,11,14,1z
|
2019-04-14 18:32:29 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2019-04-01 21:21:04 +03:00
|
|
|
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;
|
|
|
|
|
TOOLSET: gcc
|
|
|
|
|
CXXSTD: 03,11,14,1z
|
2016-05-21 16:27:41 +03:00
|
|
|
|
|
|
|
|
install:
|
2017-11-06 00:52:07 +02:00
|
|
|
- set BOOST_BRANCH=develop
|
|
|
|
|
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
|
2016-09-10 13:04:05 +03:00
|
|
|
- cd ..
|
2017-12-17 00:12:20 +02:00
|
|
|
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
2016-09-10 13:04:05 +03:00
|
|
|
- cd boost-root
|
2017-07-07 15:03:59 +03:00
|
|
|
- git submodule update --init tools/boostdep
|
2018-12-22 04:04:27 +02:00
|
|
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\bind\
|
2017-07-07 15:03:59 +03:00
|
|
|
- python tools/boostdep/depinst/depinst.py bind
|
2017-11-06 00:52:07 +02:00
|
|
|
- cmd /c bootstrap
|
2017-12-18 17:03:52 +02:00
|
|
|
- b2 -d0 headers
|
2016-05-21 16:27:41 +03:00
|
|
|
|
2016-05-21 17:00:24 +03:00
|
|
|
build: off
|
|
|
|
|
|
2016-05-21 16:27:41 +03:00
|
|
|
test_script:
|
2019-04-01 21:50:49 +03:00
|
|
|
- PATH=%ADDPATH%%PATH%
|
2017-11-06 01:30:19 +02:00
|
|
|
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
2019-04-01 21:21:04 +03:00
|
|
|
- if not "%ADDRESS_MODEL%" == "" set ADDRESS_MODEL=address-model=%ADDRESS_MODEL%
|
|
|
|
|
- b2 -j3 libs/bind/test toolset=%TOOLSET% %CXXSTD% %ADDRESS_MODEL% variant=debug,release
|