Skip to content

Commit e454e79

Browse files
committed
Update appveyor.yml
1 parent 93cefb7 commit e454e79

File tree

1 file changed

+16
-17
lines changed

1 file changed

+16
-17
lines changed

appveyor.yml

Lines changed: 16 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -10,39 +10,38 @@ branches:
1010
only:
1111
- master
1212
- develop
13+
- /feature\/.*/
1314

1415
environment:
1516
matrix:
1617
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
17-
TOOLSET: msvc-10.0,msvc-11.0
18-
ADDRMD: 32
19-
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2015
20-
TOOLSET: msvc-12.0,msvc-14.0
21-
ADDRESS_MODEL: 32,64
18+
TOOLSET: msvc-14.0
19+
CXXSTD: 14,latest
20+
ADDRMD: 32,64
2221
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
2322
TOOLSET: msvc-14.1
24-
CXXSTD: 14,17
25-
ADDRESS_MODEL: 32,64
23+
CXXSTD: 14,17,latest
24+
ADDRMD: 32,64
2625
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2019
2726
TOOLSET: msvc-14.2
28-
CXXSTD: 14,17
29-
ADDRESS_MODEL: 32,64
27+
CXXSTD: 14,17,20,latest
28+
ADDRMD: 32,64
3029

3130
install:
31+
- set BOOST_BRANCH=develop
32+
- if "%APPVEYOR_REPO_BRANCH%" == "master" set BOOST_BRANCH=master
3233
- cd ..
33-
- git clone -b %APPVEYOR_REPO_BRANCH% https://github.com/boostorg/boost.git boost-root
34+
- git clone -b %BOOST_BRANCH% --depth 1 https://github.com/boostorg/boost.git boost-root
3435
- cd boost-root
35-
- git submodule update --init tools/build
36-
- git submodule update --init libs/config
3736
- git submodule update --init tools/boostdep
38-
- git submodule update --init tools/boost_install
39-
- git submodule update --init libs/headers
4037
- xcopy /s /e /q %APPVEYOR_BUILD_FOLDER% libs\function_types
4138
- python tools/boostdep/depinst/depinst.py -I example function_types
42-
- bootstrap
43-
- b2 headers
39+
- cmd /c bootstrap
40+
- b2 -d0 headers
4441

4542
build: off
4643

4744
test_script:
48-
- b2 libs/function_types/test toolset=%TOOLSET%
45+
- if not "%CXXSTD%" == "" set CXXSTD=cxxstd=%CXXSTD%
46+
- if not "%ADDRMD%" == "" set ADDRMD=address-model=%ADDRMD%
47+
- b2 -j3 libs/function_types/test toolset=%TOOLSET% %CXXSTD% %ADDRMD% variant=debug,release embed-manifest-via=linker

0 commit comments

Comments
 (0)