]> git.proxmox.com Git - ceph.git/blob - ceph/src/boost/libs/type_index/test/appveyor.yml
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / libs / type_index / test / appveyor.yml
1 # Use, modification, and distribution are
2 # subject to the Boost Software License, Version 1.0. (See accompanying
3 # file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
4 #
5 # Copyright Antony Polukhin 2016.
6
7 #
8 # See https://svn.boost.org/trac/boost/wiki/TravisCoverals for description of this file
9 # and how it can be used with Boost libraries.
10 #
11 # File revision #1
12
13 init:
14 - set BRANCH_TO_TEST=%APPVEYOR_REPO_BRANCH%
15 - set BOOST_REMOVE=type_index
16
17 os: Visual Studio 2015
18 configuration: Debug
19 platform: x64
20
21 ###############################################################################################################
22 # From this point and below code is same for all the Boost libs
23 ###############################################################################################################
24
25 version: 1.61.{build}-{branch}
26
27 # branches to build
28 branches:
29 except:
30 - gh-pages
31
32 skip_tags: true
33
34 before_build:
35 # Set this to the name of the library
36 - set PROJECT_TO_TEST=%APPVEYOR_PROJECT_NAME%
37 - echo "Testing %PROJECT_TO_TEST%"
38 # Cloning Boost libraries (fast nondeep cloning)
39 - set BOOST=C:/boost-local
40 - git init %BOOST%
41 - cd %BOOST%
42 - git remote add --no-tags -t %BRANCH_TO_TEST% origin https://github.com/boostorg/boost.git
43 - git fetch --depth=1
44 - git checkout %BRANCH_TO_TEST%
45 - git submodule update --init --merge
46 - git remote set-branches --add origin %BRANCH_TO_TEST%
47 - git pull --recurse-submodules
48 - git submodule update --init
49 - git checkout %BRANCH_TO_TEST%
50 #- git submodule foreach "git reset --quiet --hard"
51 #- git submodule foreach "git clean -fxd"
52 - git reset --hard
53 - git clean -fxd
54 - git status
55 - rm -rf %BOOST%/libs/%BOOST_REMOVE%
56 - mv %APPVEYOR_BUILD_FOLDER% %BOOST%/libs/%PROJECT_TO_TEST%
57 - set TRAVIS_BUILD_DIR=%BOOST%/libs/%PROJECT_TO_TEST%
58
59 build_script:
60 - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x64
61 - bootstrap.bat
62 - b2.exe headers
63 - cd %BOOST%/libs/%PROJECT_TO_TEST%/test
64
65 after_build:
66 before_test:
67 test_script:
68 - ..\..\..\b2.exe address-model=64 architecture=x86 cxxflags="-DBOOST_TRAVISCI_BUILD" -sBOOST_BUILD_PATH=.
69
70 after_test:
71 on_success:
72 on_failure:
73 on_finish: