• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2017 Edward Diener
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
14environment:
15  matrix:
16    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
17      TOOLSET: msvc-10.0
18      ADDRMD: 32
19    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
20      TOOLSET: msvc-11.0
21      ADDRMD: 32
22    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
23      TOOLSET: msvc-12.0
24      ADDRMD: 32,64
25    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
26      TOOLSET: msvc-14.0
27      ADDRMD: 32,64
28    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
29      TOOLSET: msvc-14.1
30      CXXSTD: 14,17,latest
31      ADDRMD: 32,64
32    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
33      TOOLSET: msvc-14.2
34      CXXSTD: 14,17,latest
35      ADDRMD: 32,64
36    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
37      TOOLSET: msvc-14.2
38      CXXSTD: 14,17,latest
39      ADDRMD: 32,64
40      PREPROCESSOR: /Zc:preprocessor
41
42install:
43  - cd ..
44  - git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
45  - cd boost-root
46  - git submodule update --init tools/build
47  - git submodule update --init libs/config
48  - git submodule update --init tools/boostdep
49  - git submodule update --init tools/boost_install
50  - git submodule update --init libs/headers
51  - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\tti
52  - python tools/boostdep/depinst/depinst.py tti
53  - bootstrap
54  - b2 headers
55
56build: off
57
58test_script:
59  - if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
60  - if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
61  - if not "%PREPROCESSOR%" == "" set PREPROCESSOR=cxxflags="%PREPROCESSOR%"
62  - b2 libs/tti/test -j3 toolset=%TOOLSET% %CXXSTD% %ADDRMD% %PREPROCESSOR% variant=debug,release
63