From ca9e9584ba71d688b0db7221a800c42c7f77f9d4 Mon Sep 17 00:00:00 2001 From: Daniel James Date: Fri, 26 Jan 2018 18:03:56 +0000 Subject: [PATCH] Test on appveyor --- .appveyor.yml | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .appveyor.yml diff --git a/.appveyor.yml b/.appveyor.yml new file mode 100644 index 00000000..e699c6e6 --- /dev/null +++ b/.appveyor.yml @@ -0,0 +1,33 @@ +# 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 + +install: + - cd c:\projects + - curl -sSL -o boost.7z https://dl.bintray.com/boostorg/release/1.66.0/source/boost_1_66_0.7z + - 7z x boost.7z + - set BOOST_ROOT=c:\projects\boost_1_66_0 + - rd /s /q %BOOST_ROOT%\boost\unordered + - cd %BOOST_ROOT%\tools\build + - cmd /c bootstrap + - cd %APPVEYOR_BUILD_FOLDER% + - echo. 2>Jamroot.jam + +build: off + +test_script: + - cd %APPVEYOR_BUILD_FOLDER%\test + - cmd /c %BOOST_ROOT%\tools\build\b2 -j 3 toolset=%TOOLSET% include=%APPVEYOR_BUILD_FOLDER%\include include=%BOOST_ROOT%