Skip to content

Commit c832f18

Browse files
committed
Update appveyor.yml
1 parent 8f848d8 commit c832f18

1 file changed

Lines changed: 41 additions & 51 deletions

File tree

appveyor.yml

Lines changed: 41 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -1,78 +1,68 @@
1-
# Copyright 2016, 2017 Peter Dimov
2-
# Copyright (C) 2017, 2018 James E. King III
1+
# Copyright 2016-2019 Peter Dimov
32
# Distributed under the Boost Software License, Version 1.0.
43
# (See accompanying file LICENSE_1_0.txt or copy at http://boost.org/LICENSE_1_0.txt)
54

6-
# When copying this to a new library, be sure to update the name of the library
7-
# in two places (once each at the top of install: and test_script:)
8-
95
version: 1.0.{build}-{branch}
106

117
shallow_clone: true
128

139
branches:
1410
only:
15-
- develop
1611
- master
17-
18-
matrix:
19-
allow_failures:
20-
- MAYFAIL: true
12+
- develop
13+
- /feature\/.*/
2114

2215
environment:
23-
global:
24-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
25-
# see: http://www.boost.org/build/doc/html/bbv2/overview/invocation.html#bbv2.overview.invocation.properties
26-
# to use the default for a given environment, comment it out; recommend you build debug and release however..
27-
# on Windows it is important to exercise all the possibilities, especially shared vs static
28-
# B2_ADDRESS_MODEL: address-model=64,32
29-
# B2_LINK: link=shared,static
30-
# B2_THREADING: threading=multi,single
31-
B2_VARIANT: variant=release,debug
32-
CXXSTD: 03
33-
3416
matrix:
35-
- FLAVOR: Visual Studio 2017
17+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
18+
TOOLSET: msvc-14.0
19+
CXXSTD: 14,latest
20+
ADDRMD: 32,64
21+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
3622
TOOLSET: msvc-14.1
37-
B2_ADDRESS_MODEL: address-model=64,32
38-
- FLAVOR: Visual Studio 2013
39-
APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2013
40-
TOOLSET: msvc-12.0
41-
- FLAVOR: mingw32
42-
ARCH: i686
43-
B2_ADDRESS_MODEL: address-model=32
44-
SCRIPT: ci\mingw.bat
45-
- FLAVOR: mingw64
46-
ARCH: x86_64
47-
B2_ADDRESS_MODEL: address-model=64
48-
SCRIPT: ci\mingw.bat
49-
- FLAVOR: cygwin (64-bit)
23+
CXXSTD: 14,17,latest
24+
ADDRMD: 32,64
25+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
26+
TOOLSET: clang-win
27+
CXXSTD: 14,17,latest
28+
ADDRMD: 64
29+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
30+
TOOLSET: clang-win
31+
CXXSTD: 14,17,20,latest
32+
ADDRMD: 64
33+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
34+
ADDPATH: C:\cygwin\bin;
35+
TOOLSET: gcc
36+
CXXSTD: 11,14,1z
37+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
5038
ADDPATH: C:\cygwin64\bin;
51-
B2_ADDRESS_MODEL: address-model=64
5239
TOOLSET: gcc
53-
MAYFAIL: true
54-
- FLAVOR: cygwin (32-bit)
55-
ADDPATH: C:\cygwin\bin;
56-
B2_ADDRESS_MODEL: address-model=32
40+
CXXSTD: 11,14,1z
41+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
42+
ADDPATH: C:\mingw-w64\i686-8.1.0-posix-dwarf-rt_v6-rev0\mingw32\bin;
43+
TOOLSET: gcc
44+
CXXSTD: 11,14,17,2a
45+
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
46+
ADDPATH: C:\mingw-w64\x86_64-8.1.0-posix-seh-rt_v6-rev0\mingw64\bin;
5747
TOOLSET: gcc
58-
MAYFAIL: true
48+
CXXSTD: 11,14,17,2a
5949

6050
install:
61-
- set SELF=program_options
51+
- set BOOST_BRANCH=develop
52+
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
6253
- cd ..
63-
- git clone -b %APPVEYOR_REPO_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
54+
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
6455
- cd boost-root
65-
- git submodule update -q --init tools/boostdep
66-
- git submodule update -q --init tools/build
67-
- git submodule update -q --init tools/inspect
68-
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\%SELF%
69-
- python tools/boostdep/depinst/depinst.py --include example %SELF%
56+
- git submodule update --init tools/boostdep
57+
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\program_options\
58+
- python tools/boostdep/depinst/depinst.py program_options
7059
- cmd /c bootstrap
71-
- b2 headers
60+
- b2 -d0 headers
7261

7362
build: off
7463

7564
test_script:
76-
- set SELF=program_options
7765
- PATH=%ADDPATH%%PATH%
78-
- IF DEFINED SCRIPT (call libs\%SELF%\%SCRIPT%) ELSE (b2 libs/%SELF% toolset=%TOOLSET% cxxstd=%CXXSTD% %CXXFLAGS% %DEFINES% %B2_ADDRESS_MODEL% %B2_LINK% %B2_THREADING% %B2_VARIANT% -j3)
66+
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
67+
- if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
68+
- b2 -j3 libs/program_options/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release

0 commit comments

Comments
 (0)