Files
boost_system/appveyor.yml
T

80 lines
4.0 KiB
YAML
Raw Normal View History

2019-04-14 18:06:05 +03:00
# Copyright 2016-2019 Peter Dimov
2017-06-13 19:58:16 +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-22 02:45:49 +02:00
- /feature\/.*/
2017-06-13 19:58:16 +03:00
environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
TOOLSET: msvc-14.1
2021-06-15 06:02:49 +03:00
CXXSTD: 14,17,latest
2024-04-08 21:47:32 +03:00
ADDRMD: 32
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
TOOLSET: msvc-14.1
CXXSTD: 14,17,latest
ADDRMD: 64
2024-01-18 18:48:58 +02:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2018-03-09 05:12:03 +02:00
ADDPATH: C:\cygwin64\bin;
TOOLSET: gcc
2023-01-12 05:45:30 +02:00
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2024-01-18 18:48:58 +02:00
ADDPATH: C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;
TOOLSET: gcc
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
ADDPATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;
TOOLSET: gcc
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
CMAKE_SUBDIR: 1
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
2023-01-12 05:45:30 +02:00
CMAKE_INSTALL: 1
2017-06-13 19:58:16 +03:00
install:
2017-11-22 02:45:49 +02:00
- set BOOST_BRANCH=develop
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
2017-06-13 19:58:16 +03:00
- cd ..
2017-11-22 02:45:49 +02:00
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
2017-06-13 19:58:16 +03:00
- cd boost-root
- git submodule update --init tools/boostdep
2018-12-18 21:56:44 +02:00
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\system\
2017-06-13 19:58:16 +03:00
- python tools/boostdep/depinst/depinst.py system
2017-06-22 17:28:25 +03:00
- cmd /c bootstrap
2018-01-21 22:31:37 +02:00
- b2 -d0 headers
2017-06-13 19:58:16 +03:00
build: off
test_script:
- PATH=%ADDPATH%%PATH%
2017-11-22 02:45:49 +02:00
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
2018-09-21 20:51:24 +03:00
- if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
2023-01-12 05:45:30 +02:00
- if "%CMAKE%%CMAKE_SUBDIR%%CMAKE_INSTALL%" == "" b2 -j3 libs/system/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release embed-manifest-via=linker
- if not "%CMAKE%" == "" mkdir __build__ && cd __build__
2023-01-12 15:18:11 +02:00
- if not "%CMAKE%" == "" cmake -DBUILD_TESTING=ON -DBOOST_INCLUDE_LIBRARIES=system -DBoost_VERBOSE=ON ..
2023-01-12 20:38:54 +02:00
- if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config Debug & ctest --output-on-failure --no-tests=error -j 3 -C Debug
- if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config Release & ctest --output-on-failure --no-tests=error -j 3 -C Release
- if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config MinSizeRel & ctest --output-on-failure --no-tests=error -j 3 -C MinSizeRel
- if not "%CMAKE%" == "" cmake --build . --target tests -j 3 --config RelWithDebInfo & ctest --output-on-failure --no-tests=error -j 3 -C RelWithDebInfo
2023-01-12 05:45:30 +02:00
- if not "%CMAKE_SUBDIR%" == "" cd libs/system/test/cmake_subdir_test && mkdir __build__ && cd __build__
- if not "%CMAKE_SUBDIR%" == "" cmake ..
- if not "%CMAKE_SUBDIR%" == "" cmake --build . --config Debug && cmake --build . --target check --config Debug
- if not "%CMAKE_SUBDIR%" == "" cmake --build . --config Release && cmake --build . --target check --config Release
- if not "%CMAKE_SUBDIR%" == "" cmake --build . --config MinSizeRel && cmake --build . --target check --config MinSizeRel
- if not "%CMAKE_SUBDIR%" == "" cmake --build . --config RelWithDebInfo && cmake --build . --target check --config RelWithDebInfo
- if not "%CMAKE_INSTALL%" == "" mkdir __build__ && cd __build__
- if not "%CMAKE_INSTALL%" == "" cmake -DBOOST_INCLUDE_LIBRARIES=system -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ..
- if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Debug
- if not "%CMAKE_INSTALL%" == "" cmake --build . --target install --config Release
- if not "%CMAKE_INSTALL%" == "" cd ../libs/system/test/cmake_install_test && mkdir __build__ && cd __build__
- if not "%CMAKE_INSTALL%" == "" cmake -DCMAKE_INSTALL_PREFIX=C:/cmake-prefix ..
- if not "%CMAKE_INSTALL%" == "" cmake --build . --config Debug && cmake --build . --target check --config Debug
- if not "%CMAKE_INSTALL%" == "" cmake --build . --config Release && cmake --build . --target check --config Release