2019-04-14 18:24:21 +03:00
|
|
|
# Copyright 2016-2019 Peter Dimov
|
2016-05-21 18:23:41 +03: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-06-18 03:32:32 +03:00
|
|
|
- /feature\/.*/
|
|
|
|
|
|
2017-06-18 03:36:49 +03:00
|
|
|
environment:
|
2017-06-18 03:32:32 +03:00
|
|
|
matrix:
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2019-04-14 18:24:21 +03:00
|
|
|
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
|
|
|
TOOLSET: msvc-12.0,msvc-14.0
|
2018-03-07 17:37:28 +02:00
|
|
|
ADDRMD: 32,64
|
2017-06-18 03:32:32 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
2019-11-24 00:05:38 +02:00
|
|
|
TOOLSET: msvc-14.1
|
|
|
|
|
CXXSTD: 14,17
|
|
|
|
|
ADDRMD: 32,64
|
|
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
|
|
|
TOOLSET: clang-win
|
|
|
|
|
CXXSTD: 14,17
|
2019-12-05 15:49:48 +02:00
|
|
|
ADDRMD: 64
|
2019-11-24 00:05:38 +02:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
|
|
|
|
|
TOOLSET: msvc-14.2
|
2017-11-06 02:34:46 +02:00
|
|
|
CXXSTD: 14,17
|
2018-03-07 17:37:28 +02:00
|
|
|
ADDRMD: 32,64
|
2019-04-14 18:24:21 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2018-03-07 18:27:45 +02:00
|
|
|
ADDPATH: C:\cygwin\bin;
|
2018-03-07 20:06:04 +02:00
|
|
|
TOOLSET: gcc
|
2018-03-07 18:27:45 +02:00
|
|
|
CXXSTD: 03,11,14,1z
|
2019-04-14 18:24:21 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2018-03-07 18:27:45 +02:00
|
|
|
ADDPATH: C:\cygwin64\bin;
|
2018-03-07 20:06:04 +02:00
|
|
|
TOOLSET: gcc
|
|
|
|
|
CXXSTD: 03,11,14,1z
|
2019-04-14 18:24:21 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2018-03-07 20:06:04 +02:00
|
|
|
ADDPATH: C:\mingw\bin;
|
|
|
|
|
TOOLSET: gcc
|
|
|
|
|
CXXSTD: 03,11,14,1z
|
2019-04-14 18:24:21 +03:00
|
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
2018-03-07 20:06:04 +02:00
|
|
|
ADDPATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;
|
|
|
|
|
TOOLSET: gcc
|
2018-03-07 18:27:45 +02:00
|
|
|
CXXSTD: 03,11,14,1z
|
2016-05-21 18:23:41 +03:00
|
|
|
|
|
|
|
|
install:
|
2017-06-18 03:32:32 +03:00
|
|
|
- set BOOST_BRANCH=develop
|
|
|
|
|
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
|
2016-09-10 13:47:05 +03:00
|
|
|
- cd ..
|
2018-09-21 20:53:27 +03:00
|
|
|
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
2016-09-10 13:47:05 +03:00
|
|
|
- cd boost-root
|
2016-05-21 18:23:41 +03:00
|
|
|
- git submodule init libs/align
|
|
|
|
|
- git submodule init libs/assert
|
|
|
|
|
- git submodule init libs/atomic
|
|
|
|
|
- git submodule init libs/config
|
2018-01-03 02:59:19 +02:00
|
|
|
- git submodule init libs/container_hash
|
2016-05-21 18:23:41 +03:00
|
|
|
- git submodule init libs/core
|
|
|
|
|
- git submodule init libs/move
|
|
|
|
|
- git submodule init libs/predef
|
|
|
|
|
- git submodule init libs/static_assert
|
|
|
|
|
- git submodule init libs/throw_exception
|
|
|
|
|
- git submodule init libs/type_traits
|
2018-01-03 02:59:19 +02:00
|
|
|
- git submodule init libs/detail
|
|
|
|
|
- git submodule init libs/integer
|
2016-05-21 18:23:41 +03:00
|
|
|
- git submodule init tools/build
|
2018-12-18 21:53:58 +02:00
|
|
|
- git submodule init libs/headers
|
|
|
|
|
- git submodule init tools/boost_install
|
|
|
|
|
- git submodule update --jobs 3
|
|
|
|
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\smart_ptr\
|
2017-06-22 17:34:20 +03:00
|
|
|
- cmd /c bootstrap
|
2018-01-03 02:59:19 +02:00
|
|
|
- b2 -d0 headers
|
2016-05-21 18:23:41 +03:00
|
|
|
|
|
|
|
|
build: off
|
|
|
|
|
|
|
|
|
|
test_script:
|
2018-03-07 18:27:45 +02:00
|
|
|
- PATH=%ADDPATH%%PATH%
|
2017-11-06 01:49:20 +02:00
|
|
|
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
2018-03-07 17:37:28 +02:00
|
|
|
- if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
|
|
|
|
|
- b2 -j3 libs/smart_ptr/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release
|