2017-06-22 17:35:20 +03:00
|
|
|
# Copyright 2016, 2017 Peter Dimov
|
2016-11-16 18:24:50 +02:00
|
|
|
# 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-07-18 16:39:21 +03:00
|
|
|
- /feature\/.*/
|
2016-11-16 18:24:50 +02:00
|
|
|
|
2017-05-20 02:36:04 +03:00
|
|
|
environment:
|
|
|
|
|
matrix:
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
|
|
|
|
|
TOOLSET: msvc-12.0
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
|
TOOLSET: msvc-14.0
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
|
TOOLSET: msvc-14.1
|
2018-08-30 01:00:45 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
|
TOOLSET: msvc-14.1
|
|
|
|
|
CXXSTD: 17
|
2017-05-20 02:30:46 +03:00
|
|
|
|
2016-11-16 18:24:50 +02:00
|
|
|
install:
|
2017-07-18 16:54:54 +03:00
|
|
|
- set BOOST_BRANCH=develop
|
|
|
|
|
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
|
2016-11-16 18:24:50 +02:00
|
|
|
- cd ..
|
2017-07-18 16:54:54 +03:00
|
|
|
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
2016-11-16 18:24:50 +02:00
|
|
|
- cd boost-root
|
2016-11-16 19:08:33 +02:00
|
|
|
- git submodule update --init tools/boostdep
|
2017-08-04 01:37:11 +03:00
|
|
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\mp11\
|
2016-11-16 18:24:50 +02:00
|
|
|
- python tools/boostdep/depinst/depinst.py mp11
|
2017-06-22 17:35:20 +03:00
|
|
|
- cmd /c bootstrap
|
2016-11-16 18:24:50 +02:00
|
|
|
- b2 headers
|
|
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
|
|
test_script:
|
2018-08-30 01:00:45 +03:00
|
|
|
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
|
|
|
|
- b2 -j3 libs/mp11/test toolset=%TOOLSET% %CXXSTD%
|