Files
boost_assert/appveyor.yml
T

42 lines
1.2 KiB
YAML
Raw Normal View History

2018-11-15 18:31:06 +02:00
# Copyright 2016, 2018 Peter Dimov
2016-11-01 19:07:47 +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
2018-11-15 18:31:06 +02:00
- /feature\/.*/
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2019-07-25 08:09:24 +03:00
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0,msvc-14.0
2018-11-15 18:31:06 +02:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
2019-07-25 08:09:24 +03:00
TOOLSET: msvc-14.1,clang-win
2018-11-15 18:31:06 +02:00
CXXSTD: 14,17
2016-11-01 19:07:47 +02:00
install:
2018-11-15 18:31:06 +02:00
- set BOOST_BRANCH=develop
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
2016-11-01 19:07:47 +02:00
- cd ..
2018-11-15 18:31:06 +02:00
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
2016-11-01 19:07:47 +02:00
- cd boost-root
2018-12-18 20:28:50 +02:00
- git submodule update --init tools/build
- git submodule update --init tools/boost_install
- git submodule update --init libs/config
- git submodule update --init libs/core
- git submodule update --init libs/headers
2018-11-15 18:31:06 +02:00
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\assert\
- cmd /c bootstrap
- b2 -d0 headers
2016-11-01 19:07:47 +02:00
build: off
test_script:
2018-11-15 18:31:06 +02:00
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
- b2 -j 3 libs/assert/test toolset=%TOOLSET% %CXXSTD%