forked from boostorg/variant2
37 lines
938 B
YAML
37 lines
938 B
YAML
# Copyright 2016 Peter Dimov
|
|
# 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_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
TOOLSET: msvc-14.1
|
|
|
|
install:
|
|
- cd ..
|
|
- git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
|
|
- cd boost-root
|
|
- git submodule update --init tools/build
|
|
- git submodule update --init libs/config
|
|
- git submodule update --init tools/boostdep
|
|
- git clone https://github.com/pdimov/mp11 libs/mp11
|
|
- mkdir libs\variant2
|
|
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\variant2
|
|
- python tools/boostdep/depinst/depinst.py variant2
|
|
- bootstrap
|
|
- b2 headers
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- b2 libs/variant2/test toolset=%TOOLSET%
|