2
0
mirror of https://github.com/boostorg/sync.git synced 2026-01-19 04:42:12 +00:00
Files
sync/appveyor.yml
2018-11-14 01:09:33 +03:00

145 lines
4.8 KiB
YAML

# Copyright 2018 Andrey Semashev
# 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
environment:
matrix:
# AppVeyor doesn't provide 64-bit compilers for these MSVC versions
# - TOOLSET: msvc-9.0
# ADDRESS_MODEL: 64
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - TOOLSET: msvc-10.0
# ADDRESS_MODEL: 64
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - TOOLSET: msvc-11.0
# ADDRESS_MODEL: 64
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-12.0
ADDRESS_MODEL: 64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-14.0
ADDRESS_MODEL: 64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-14.1
ADDRESS_MODEL: 64
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# Boost.Thread does not compile for Cygwin
# - TOOLSET: gcc
# ADDRESS_MODEL: 64
# B2_ARGS: cxxflags=-std=c++03
# ADDPATH: C:\cygwin64\bin
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - TOOLSET: gcc
# ADDRESS_MODEL: 64
# B2_ARGS: cxxflags=-std=c++11
# ADDPATH: C:\cygwin64\bin
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc
ADDRESS_MODEL: 64
B2_ARGS: cxxflags=-std=c++03
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc
ADDRESS_MODEL: 64
B2_ARGS: cxxflags=-std=c++11
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc
ADDRESS_MODEL: 64
B2_ARGS: cxxflags=-std=gnu++03
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc
ADDRESS_MODEL: 64
B2_ARGS: cxxflags=-std=gnu++11
ADDPATH: C:\mingw-w64\x86_64-6.3.0-posix-seh-rt_v5-rev1\mingw64\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-9.0
ADDRESS_MODEL: 32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-10.0
ADDRESS_MODEL: 32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-11.0
ADDRESS_MODEL: 32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-12.0
ADDRESS_MODEL: 32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-14.0
ADDRESS_MODEL: 32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: msvc-14.1
ADDRESS_MODEL: 32
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
# Boost.Thread does not compile for Cygwin
# - TOOLSET: gcc
# ADDRESS_MODEL: 32
# B2_ARGS: cxxflags=-std=c++03
# ADDPATH: C:\cygwin\bin
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - TOOLSET: gcc
# ADDRESS_MODEL: 32
# B2_ARGS: cxxflags=-std=c++11
# ADDPATH: C:\cygwin\bin
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc
ADDRESS_MODEL: 32
B2_ARGS: cxxflags=-std=c++03
ADDPATH: C:\mingw\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
- TOOLSET: gcc
ADDRESS_MODEL: 32
B2_ARGS: cxxflags=-std=c++11
ADDPATH: C:\mingw\bin
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# AppVeyor doesn't provide 32-bit compilers for MinGW-w64
# - TOOLSET: gcc
# ADDRESS_MODEL: 32
# B2_ARGS: cxxflags=-std=c++03
# ADDPATH: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\bin
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - TOOLSET: gcc
# ADDRESS_MODEL: 32
# B2_ARGS: cxxflags=-std=c++11
# ADDPATH: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\bin
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - TOOLSET: gcc
# ADDRESS_MODEL: 32
# B2_ARGS: cxxflags=-std=gnu++03
# ADDPATH: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\bin
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
# - TOOLSET: gcc
# ADDRESS_MODEL: 32
# B2_ARGS: cxxflags=-std=gnu++11
# ADDPATH: C:\mingw-w64\i686-6.3.0-posix-dwarf-rt_v5-rev1\bin
# APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
install:
- cd ..
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
- cd boost-root
- git submodule update --init tools/boostdep
- git submodule update --init tools/build
- git submodule update --init libs/config
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\sync
- python tools/boostdep/depinst/depinst.py sync
- cmd /c bootstrap
- b2 headers
build: off
test_script:
- PATH=%ADDPATH%;%PATH%
- b2 -j3 libs/sync/test variant=release toolset=%TOOLSET% address-model=%ADDRESS_MODEL% %B2_ARGS%