2017-11-06 00:52:07 +02:00
|
|
|
# Copyright 2016, 2017 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:
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
|
2017-11-06 02:26:55 +02:00
|
|
|
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0
|
2017-11-06 00:52:07 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
|
TOOLSET: msvc-14.0
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
|
TOOLSET: msvc-14.1
|
2017-11-06 02:26:55 +02:00
|
|
|
CXXSTD: 14,17
|
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:
|
2017-11-06 01:30:19 +02:00
|
|
|
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
2017-11-06 02:33:31 +02:00
|
|
|
- b2 -j 3 libs/bind/test toolset=%TOOLSET% %CXXSTD%
|