37 lines
1.2 KiB
YAML
37 lines
1.2 KiB
YAML
# Copyright 2017 Daniel James
|
|
# 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
|
|
|
|
environment:
|
|
matrix:
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
|
|
TOOLSET: msvc-10.0,msvc-11.0,msvc-12.0
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
|
|
TOOLSET: msvc-14.0
|
|
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
|
|
TOOLSET: msvc-14.1
|
|
CXXSTD: 14,17
|
|
|
|
install:
|
|
- cd c:\projects
|
|
- curl -sSL -o boost.7z https://dl.bintray.com/boostorg/release/1.67.0/source/boost_1_67_0.7z
|
|
- 7z x boost.7z
|
|
- set BOOST_ROOT=c:\projects\boost_1_67_0
|
|
- rd /s /q %BOOST_ROOT%\boost\functional\hash
|
|
- cd %BOOST_ROOT%\tools\build
|
|
- cmd /c bootstrap
|
|
- cd %APPVEYOR_BUILD_FOLDER%
|
|
- echo. 2>Jamroot.jam
|
|
|
|
build: off
|
|
|
|
test_script:
|
|
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
|
|
- cd %APPVEYOR_BUILD_FOLDER%\test
|
|
- cmd /c %BOOST_ROOT%\tools\build\b2 -j 3 toolset=%TOOLSET% %CXXSTD% include=%APPVEYOR_BUILD_FOLDER%\include include=%BOOST_ROOT% --verbose-test hash_info
|
|
- cmd /c %BOOST_ROOT%\tools\build\b2 -j 3 toolset=%TOOLSET% %CXXSTD% include=%APPVEYOR_BUILD_FOLDER%\include include=%BOOST_ROOT%
|