From 1ecc2e2ec9ccb33b86adca6adb859c9986043c45 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 9 Oct 2017 08:09:05 -0400 Subject: [PATCH 1/4] Added Appveyor file. --- appveyor.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 appveyor.yml diff --git a/appveyor.yml b/appveyor.yml new file mode 100644 index 0000000..6941a35 --- /dev/null +++ b/appveyor.yml @@ -0,0 +1,29 @@ +# Copyright 2017 Edward Diener +# 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 + +install: + - cd .. + - git clone -b %APPVEYOR_REPO_BRANCH% 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 + - xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\preprocessor + - python tools/boostdep/depinst/depinst.py preprocessor + - bootstrap + - b2 headers + +build: off + +test_script: + - b2 libs/preprocessor/test toolset=msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0,msvc-14.0,msvc-14.1 From c4b1ce10bd9a2c9f24a519544dba7961fb38ebff Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 9 Oct 2017 11:23:30 -0400 Subject: [PATCH 2/4] Add VS2017 worker image. --- appveyor.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/appveyor.yml b/appveyor.yml index 6941a35..e920b58 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -11,6 +11,11 @@ branches: - master - develop +environment: + matrix: + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 + install: - cd .. - git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root From 08ec2abb2e54a92df14c50da31769d20aed9a8ad Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 9 Oct 2017 11:39:03 -0400 Subject: [PATCH 3/4] Updated appveyor file for correct toolsets. --- appveyor.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/appveyor.yml b/appveyor.yml index e920b58..25cc8d0 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,7 +14,17 @@ branches: environment: matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + TOOLSET: msvc-9.0 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + TOOLSET: msvc-10.0 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + TOOLSET: msvc-11.0 + - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 + TOOLSET: 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 .. @@ -31,4 +41,4 @@ install: build: off test_script: - - b2 libs/preprocessor/test toolset=msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0,msvc-14.0,msvc-14.1 + - b2 libs/preprocessor/test toolset=%TOOLSET% From f54e270433134b870d7fb3463d029ee93317e3e2 Mon Sep 17 00:00:00 2001 From: Edward Diener Date: Mon, 9 Oct 2017 11:58:08 -0400 Subject: [PATCH 4/4] Better appveyor designation for tests. --- appveyor.yml | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index 25cc8d0..1fefc07 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -14,15 +14,7 @@ branches: environment: matrix: - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - TOOLSET: msvc-9.0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - TOOLSET: msvc-10.0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - TOOLSET: msvc-11.0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - TOOLSET: msvc-12.0 - - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015 - TOOLSET: msvc-14.0 + TOOLSET: msvc-9.0,msvc-10.0,msvc-11.0,msvc-12.0,msvc-14.0 - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017 TOOLSET: msvc-14.1