• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2016 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#version: "{branch} (#{build})"
7
8shallow_clone: true
9
10platform:
11  #- x86
12  - x64
13
14configuration:
15  #- Debug
16  - Release
17
18environment:
19  OPENSSL_ROOT: C:\tools\vcpkg\installed\x64-windows
20  matrix:
21    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
22      TOOLSET: msvc-14.0
23
24# VFALCO Appveyor has a 1 hour time limit, and
25#        I already test this configuration locally.
26#
27#    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
28#      TOOLSET: msvc-14.1
29
30# This configuration is not available yet
31#    - APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
32#      TOOLSET: msvc-14.2
33
34install:
35  - SET BOOST_BRANCH=develop
36  - IF "%APPVEYOR_REPO_BRANCH%" == "master" SET BOOST_BRANCH=master
37  - vcpkg install openssl --triplet x64-windows
38  - ps: cp tools\user-config.jam ~\user-config.jam
39  - CD ..
40  - bash -c '$APPVEYOR_BUILD_FOLDER/tools/get-boost.sh $APPVEYOR_REPO_BRANCH $APPVEYOR_BUILD_FOLDER'
41  - CD boost-root
42  - CMD /c bootstrap
43  - b2 headers
44
45build: off
46
47test_script:
48  - b2 --debug-configuration variant=release cxxstd=14 address-model=64 toolset=msvc-14.0 libs/beast/example -j3
49  - b2 --debug-configuration variant=release cxxstd=14 address-model=64 toolset=msvc-14.0 --verbose-test libs/beast/test//run-fat-tests -j3
50  - b2 --debug-configuration variant=release cxxstd=17 define="BOOST_BEAST_USE_STD_STRING_VIEW" address-model=64 toolset=msvc-14.1 libs/beast/example -j3
51  - b2 --debug-configuration variant=release cxxstd=17 define="BOOST_BEAST_USE_STD_STRING_VIEW" address-model=64 toolset=msvc-14.1 --verbose-test libs/beast/test//run-fat-tests -j3
52
53cache:
54- c:\tools\vcpkg\installed\
55