2017-10-09 08:16:23 -04:00
|
|
|
# Copyright 2017 Edward Diener
|
|
|
|
|
# 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)
|
|
|
|
|
|
|
|
|
|
version: 1.0.{build}-{branch}
|
|
|
|
|
|
|
|
|
|
shallow_clone: true
|
|
|
|
|
|
|
|
|
|
branches:
|
|
|
|
|
only:
|
|
|
|
|
- master
|
|
|
|
|
- develop
|
2017-12-24 01:47:23 +02:00
|
|
|
- /feature\/.*/
|
2017-10-09 08:16:23 -04:00
|
|
|
|
2017-10-09 12:07:41 -04:00
|
|
|
environment:
|
|
|
|
|
matrix:
|
2017-12-24 01:47:23 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
|
|
|
|
|
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0
|
2017-10-09 12:07:41 -04:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2017-12-24 01:47:23 +02:00
|
|
|
TOOLSET: msvc-14.0
|
2017-10-09 12:07:41 -04:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
|
TOOLSET: msvc-14.1
|
2017-12-24 01:47:23 +02:00
|
|
|
CXXSTD: 14,17
|
2017-10-09 12:07:41 -04:00
|
|
|
|
2017-10-09 08:16:23 -04:00
|
|
|
install:
|
2017-12-24 01:47:23 +02:00
|
|
|
- set BOOST_BRANCH=develop
|
|
|
|
|
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
|
2017-10-09 08:16:23 -04:00
|
|
|
- cd ..
|
2017-12-24 01:47:23 +02:00
|
|
|
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
2017-10-09 08:16:23 -04:00
|
|
|
- cd boost-root
|
2018-12-18 22:05:56 +03:00
|
|
|
- git submodule init tools/build
|
|
|
|
|
- git submodule init tools/boostdep
|
|
|
|
|
- git submodule init tools/boost_install
|
|
|
|
|
- git submodule init libs/headers
|
2018-12-20 20:46:10 +03:00
|
|
|
- git submodule init libs/config
|
2018-12-18 22:34:58 +03:00
|
|
|
- git submodule update --jobs 4
|
2017-10-09 08:16:23 -04:00
|
|
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\iterator
|
|
|
|
|
- python tools/boostdep/depinst/depinst.py iterator
|
2017-12-24 01:47:23 +02:00
|
|
|
- cmd /c bootstrap
|
|
|
|
|
- b2 -d0 headers
|
2017-10-09 08:16:23 -04:00
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
|
|
test_script:
|
2017-12-24 01:47:23 +02:00
|
|
|
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
2019-01-03 23:19:41 +03:00
|
|
|
- b2 -j %NUMBER_OF_PROCESSORS% libs/iterator/test toolset=%TOOLSET% %CXXSTD%
|