1# Copyright 2016, 2017 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-12.0
19    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
20      TOOLSET: msvc-14.0
21    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
22      TOOLSET: msvc-14.1
23    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
24      TOOLSET: msvc-14.2
25
26install:
27  - set BOOST_BRANCH=develop
28  - if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
29  - cd ..
30  - git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
31  - cd boost-root
32  - git submodule update --init tools/build
33  - git submodule update --init libs/config
34  - git submodule update --init tools/boostdep
35  - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\chrono\
36  - python tools/boostdep/depinst/depinst.py chrono
37  - cmd /c bootstrap
38  - b2 headers
39
40build: off
41
42test_script:
43  - b2 -j3 libs/chrono/test toolset=%TOOLSET% address-model=32,64 variant=debug,release
44