1
0
forked from boostorg/core
Files
boost_core/appveyor.yml

82 lines
2.3 KiB
YAML
Raw Normal View History

# Copyright 2016-2021 Peter Dimov
2016-05-21 19:29:04 +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-11-06 15:10:55 +02:00
- /feature\/.*/
2016-05-21 19:29:04 +03:00
2017-07-22 11:35:35 +03:00
environment:
matrix:
2019-04-14 18:04:46 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0
2020-11-14 22:02:03 +02:00
ADDRMD: 32
2017-11-06 15:10:55 +02:00
2018-09-05 20:25:05 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2019-04-14 18:04:46 +03:00
TOOLSET: msvc-12.0,msvc-14.0
2019-04-19 20:14:03 +03:00
ADDRMD: 32,64
2018-09-05 20:25:05 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
2019-11-23 21:11:26 +02:00
TOOLSET: msvc-14.1
2019-04-14 18:04:46 +03:00
ADDRMD: 32,64
2018-09-05 20:25:05 +03:00
CXXSTD: 14,17
# clang-win 32 bit fails to link with "unable to load mspdbcore.dll (error code: 126)"
2019-11-23 21:11:26 +02:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2019-11-23 21:11:26 +02:00
TOOLSET: clang-win
ADDRMD: 64
2020-11-14 22:02:03 +02:00
CXXSTD: 14,17,latest
2019-10-11 18:50:35 +03:00
2019-04-14 18:04:46 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2017-07-22 11:35:35 +03:00
ADDPATH: C:\cygwin\bin;
TOOLSET: gcc
2018-09-05 20:25:05 +03:00
CXXSTD: 03,11,14,1z
2019-04-14 18:04:46 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2018-09-05 20:25:05 +03:00
ADDPATH: C:\cygwin64\bin;
TOOLSET: gcc
CXXSTD: 03,11,14,1z
2017-11-06 15:10:55 +02:00
2019-04-14 18:04:46 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2017-07-22 11:35:35 +03:00
ADDPATH: C:\mingw\bin;
TOOLSET: gcc
2018-09-05 20:25:05 +03:00
CXXSTD: 03,11,14,1z
2017-11-06 15:10:55 +02:00
2019-04-14 18:04:46 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2017-07-22 11:35:35 +03:00
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin;
TOOLSET: gcc
2018-09-05 20:25:05 +03:00
CXXSTD: 03,11,14,1z
2017-11-06 15:10:55 +02:00
2019-04-14 18:04:46 +03:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2018-09-05 20:25:05 +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
2017-07-22 11:35:35 +03:00
2016-05-21 19:29:04 +03:00
install:
2022-09-21 19:54:35 +03:00
- set GIT_FETCH_JOBS=8
2017-11-06 15:10:55 +02:00
- set BOOST_BRANCH=develop
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
- cd ..
2017-11-06 15:10:55 +02:00
- git clone -b %BOOST_BRANCH% https://github.com/boostorg/boost.git boost-root
- cd boost-root
2022-09-21 19:54:35 +03:00
- git submodule update --init tools/boostdep
2019-04-14 18:04:46 +03:00
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\core\
2022-09-21 19:54:35 +03:00
- python tools/boostdep/depinst/depinst.py --git_args "--jobs %GIT_FETCH_JOBS%" core
2017-07-22 11:35:35 +03:00
- cmd /c bootstrap
2016-05-21 19:29:04 +03:00
- b2 headers
build: off
test_script:
2017-07-22 11:35:35 +03:00
- PATH=%ADDPATH%%PATH%
2017-11-06 15:10:55 +02:00
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
2019-04-14 18:04:46 +03:00
- if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
- b2 -j %NUMBER_OF_PROCESSORS% libs/core/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release embed-manifest-via=linker