Files
boost_conversion/test/appveyor.yml
T

89 lines
3.1 KiB
YAML
Raw Normal View History

2016-12-04 02:35:42 +03:00
# Use, modification, and distribution are
# subject to the Boost Software License, Version 1.0. (See accompanying
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#
2021-01-03 13:57:41 +03:00
# Copyright Antony Polukhin 2016-2021.
2016-12-04 02:35:42 +03:00
#
# See https://svn.boost.org/trac/boost/wiki/TravisCoverals for description of this file
# and how it can be used with Boost libraries.
#
2018-12-14 11:53:39 +03:00
# File revision #6
2016-12-04 02:35:42 +03:00
init:
2018-12-14 11:53:39 +03:00
# boost-local/libs/ folder to put this library into. This may be useful, if you're for example running Travis
# from `Boost.DLL` repo while Boost already has `dll` and with to replace `dll` with content of`Boost.DLL`.
#
# Otherwise just leave the default value - set BOOST_LIBS_FOLDER=%APPVEYOR_PROJECT_NAME%
- set BOOST_LIBS_FOLDER=%APPVEYOR_PROJECT_NAME%
2016-12-04 02:35:42 +03:00
###############################################################################################################
# From this point and below code is same for all the Boost libs
###############################################################################################################
2019-04-24 22:10:38 +03:00
version: 1.71.{build}-{branch}
2016-12-04 02:35:42 +03:00
# branches to build
branches:
except:
- gh-pages
skip_tags: true
2018-12-14 11:53:39 +03:00
environment:
matrix:
2019-04-24 22:10:38 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2018-12-14 11:53:39 +03:00
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
TOOLSET: msvc-14.1,clang-win
CXXSTD: 14,17
ADDRMD: 32,64
2019-04-24 22:10:38 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2018-12-14 11:53:39 +03:00
ADDPATH: C:\cygwin\bin;
TOOLSET: gcc
CXXSTD: 03,11,14,1z
2019-04-24 22:10:38 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2018-12-14 11:53:39 +03:00
ADDPATH: C:\cygwin64\bin;
TOOLSET: gcc
CXXSTD: 03,11,14,1z
2019-04-24 22:10:38 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2018-12-14 11:53:39 +03:00
ADDPATH: C:\mingw\bin;
TOOLSET: gcc
CXXSTD: 03,11,14,1z
2019-04-24 22:10:38 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2018-12-14 11:53:39 +03:00
ADDPATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;
TOOLSET: gcc
CXXSTD: 03,11,14,1z
2016-12-04 02:35:42 +03:00
before_build:
2018-12-14 11:53:39 +03:00
- set BOOST_BRANCH=develop
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
- echo "Testing %APPVEYOR_PROJECT_NAME%"
2016-12-04 02:35:42 +03:00
# Cloning Boost libraries (fast nondeep cloning)
- set BOOST=C:/boost-local
2019-04-24 22:10:38 +03:00
- git clone -b %BOOST_BRANCH% --depth 10 https://github.com/boostorg/boost.git %BOOST%
2016-12-04 02:35:42 +03:00
- cd %BOOST%
2019-04-24 22:10:38 +03:00
- git submodule update --init --depth 10 tools/build tools/boostdep
2018-12-14 11:53:39 +03:00
- rm -rf %BOOST%/libs/%BOOST_LIBS_FOLDER%
- mv -f %APPVEYOR_BUILD_FOLDER% %BOOST%/libs/%BOOST_LIBS_FOLDER%
- python tools/boostdep/depinst/depinst.py --git_args "--depth 1 --jobs 2" %BOOST_LIBS_FOLDER%
2016-12-04 02:35:42 +03:00
build_script:
2018-12-14 11:53:39 +03:00
- cmd /c bootstrap
2016-12-04 02:35:42 +03:00
- b2.exe headers
2018-12-14 11:53:39 +03:00
- cd %BOOST%/libs/%BOOST_LIBS_FOLDER%/test
2016-12-04 02:35:42 +03:00
after_build:
before_test:
test_script:
2018-12-14 11:53:39 +03:00
- PATH=%ADDPATH%%PATH%
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
- if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
- echo "Running command ..\..\..\b2 -j3 toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release"
- ..\..\..\b2.exe -j3 toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release cxxflags="-DBOOST_TRAVISCI_BUILD"
2016-12-04 02:35:42 +03:00
after_test:
on_success:
on_failure:
on_finish: