• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016-2019 Peter Dimov
2# Distributed under the Boost Software License, Version 1.0.
3# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
4
5version: 1.0.{build}-{branch}
6
7shallow_clone: true
8
9branches:
10  only:
11    - master
12    - develop
13    - /feature\/.*/
14
15environment:
16  matrix:
17    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
18      TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0
19      ADDRMD: 32
20    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
21      TOOLSET: msvc-12.0,msvc-14.0
22      ADDRMD: 32,64
23    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
24      TOOLSET: msvc-14.1
25      CXXSTD: 14,17
26      ADDRMD: 32,64
27    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
28      TOOLSET: clang-win
29      CXXSTD: 14,17
30      ADDRMD: 64
31    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
32      TOOLSET: msvc-14.2
33      CXXSTD: 14,17,latest
34      ADDRMD: 32,64
35    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
36      ADDPATH: C:\cygwin\bin;
37      TOOLSET: gcc
38      CXXSTD: 03,11,14,1z
39    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
40      ADDPATH: C:\cygwin64\bin;
41      TOOLSET: gcc
42      CXXSTD: 03,11,14,1z
43    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
44      ADDPATH: C:\mingw\bin;
45      TOOLSET: gcc
46      CXXSTD: 03,11,14,1z
47    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
48      ADDPATH: C:\mingw-w64\x86_64-7.2.0-posix-seh-rt_v5-rev1\mingw64\bin;
49      TOOLSET: gcc
50      CXXSTD: 03,11,14,1z
51
52install:
53  - set BOOST_BRANCH=develop
54  - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
55  - cd ..
56  - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
57  - cd boost-root
58  - git submodule init libs/align
59  - git submodule init libs/assert
60  - git submodule init libs/atomic
61  - git submodule init libs/config
62  - git submodule init libs/container_hash
63  - git submodule init libs/core
64  - git submodule init libs/move
65  - git submodule init libs/predef
66  - git submodule init libs/static_assert
67  - git submodule init libs/throw_exception
68  - git submodule init libs/type_traits
69  - git submodule init libs/detail
70  - git submodule init libs/integer
71  - git submodule init tools/build
72  - git submodule init libs/headers
73  - git submodule init tools/boost_install
74  - git submodule init libs/bind
75  - git submodule update --jobs 3
76  - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\smart_ptr\
77  - cmd /c bootstrap
78  - b2 -d0 headers
79
80build: off
81
82test_script:
83  - PATH=%ADDPATH%%PATH%
84  - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
85  - if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
86  - b2 -j3 libs/smart_ptr/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release
87