mirror of
https://github.com/boostorg/boost.git
synced 2025-04-05 05:25:00 +00:00
Squash-merge branch circle2
This commit is contained in:
parent
af923d935a
commit
12a3944fa5
2 changed files with 14 additions and 54 deletions
14
.circleci/config.yml
Normal file
14
.circleci/config.yml
Normal file
|
@ -0,0 +1,14 @@
|
|||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: djarek/boost_superproject_build
|
||||
parallelism: 2
|
||||
steps:
|
||||
- checkout
|
||||
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ${HOME}
|
||||
- run: wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -P ${HOME}
|
||||
- run: python ${HOME}/ci_boost_release.py checkout_post
|
||||
- run: python ${HOME}/ci_boost_release.py dependencies_override
|
||||
- run: '[ "$CIRCLE_NODE_INDEX" != "0" ] || EOL=LF python ${HOME}/ci_boost_release.py test_override'
|
||||
- run: '[ "$CIRCLE_NODE_INDEX" != "1" ] || EOL=CRLF python ${HOME}/ci_boost_release.py test_override'
|
54
circle.yml
54
circle.yml
|
@ -1,54 +0,0 @@
|
|||
# Use, modification, and distribution are
|
||||
# subject to the Boost Software License, Version 1.0. (See accompanying
|
||||
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||
#
|
||||
# Copyright Rene Rivera 2015-2016.
|
||||
|
||||
machine:
|
||||
environment:
|
||||
SCRIPT_N: ci_boost_release ci_boost_release
|
||||
EOL_N: LF CRLF
|
||||
pre:
|
||||
- |
|
||||
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_common.py" -P ${HOME}
|
||||
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_library_check.py" -P ${HOME}
|
||||
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_release.py" -P ${HOME}
|
||||
wget "https://raw.githubusercontent.com/boostorg/release-tools/develop/ci_boost_status.py" -P ${HOME}
|
||||
echo '#!/bin/bash' > ${HOME}/script.sh
|
||||
echo 'export SCRIPT_N=(${SCRIPT_N})' >> "${HOME}/script.sh"
|
||||
echo 'export SCRIPT=${SCRIPT_N[$CIRCLE_NODE_INDEX]}' >> "${HOME}/script.sh"
|
||||
echo 'export EOL_N=(${EOL_N})' >> "${HOME}/script.sh"
|
||||
echo 'export EOL=${EOL_N[$CIRCLE_NODE_INDEX]}' >> "${HOME}/script.sh"
|
||||
echo 'python "${HOME}/${SCRIPT}.py" "$@"' >> "${HOME}/script.sh"
|
||||
chmod +x "${HOME}/script.sh"
|
||||
post:
|
||||
- sudo apt-get update
|
||||
- sudo apt-get install xsltproc
|
||||
- exec "${HOME}/script.sh" machine_post
|
||||
checkout:
|
||||
post:
|
||||
- exec "${HOME}/script.sh" checkout_post
|
||||
dependencies:
|
||||
pre:
|
||||
- exec "${HOME}/script.sh" dependencies_pre
|
||||
override:
|
||||
- exec "${HOME}/script.sh" dependencies_override
|
||||
post:
|
||||
- exec "${HOME}/script.sh" dependencies_post
|
||||
database:
|
||||
pre:
|
||||
- exec "${HOME}/script.sh" database_pre
|
||||
override:
|
||||
- exec "${HOME}/script.sh" database_override
|
||||
post:
|
||||
- exec "${HOME}/script.sh" database_post
|
||||
test:
|
||||
pre:
|
||||
- exec "${HOME}/script.sh" test_pre:
|
||||
parallel: true
|
||||
override:
|
||||
- exec "${HOME}/script.sh" test_override:
|
||||
parallel: true
|
||||
post:
|
||||
- exec "${HOME}/script.sh" test_post:
|
||||
parallel: true
|
Loading…
Add table
Reference in a new issue