mirror of
https://github.com/boostorg/beast.git
synced 2025-07-29 20:37:31 +02:00
59
.circleci/config.yml
Normal file
59
.circleci/config.yml
Normal file
@ -0,0 +1,59 @@
|
||||
version: 2.0
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: madmongo1/fedora-devel:latest
|
||||
|
||||
working_directory: /tmp
|
||||
|
||||
steps:
|
||||
- run:
|
||||
name: fix ssh keys
|
||||
working_directory: ~
|
||||
command: |
|
||||
ssh-keyscan github.com >> githubKey
|
||||
ssh-keygen -lf githubKey
|
||||
cat githubKey >> ~/.ssh/known_hosts
|
||||
|
||||
- run:
|
||||
name: clone boost
|
||||
working_directory: /tmp
|
||||
command: |
|
||||
BOOST_BRANCH=master
|
||||
if [ "${CIRCLE_BRANCH}" != "master" -a "${CIRCLE_BRANCH}" != "refs/heads/master" ]
|
||||
then
|
||||
BOOST_BRANCH=develop
|
||||
fi
|
||||
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git
|
||||
|
||||
- run:
|
||||
name: update submodules
|
||||
working_directory: /tmp/boost
|
||||
command: |
|
||||
git submodule update --init --recursive --depth 10 --jobs 4
|
||||
|
||||
- run:
|
||||
name: checkout beast version
|
||||
working_directory: /tmp/boost/libs/beast
|
||||
command: |
|
||||
git remote add circle ${CIRCLE_REPOSITORY_URL}
|
||||
git fetch circle
|
||||
git checkout circle/${CIRCLE_BRANCH}
|
||||
git submodule update --init --recursive
|
||||
|
||||
- run:
|
||||
name: bootstrap
|
||||
working_directory: /tmp/boost
|
||||
command: ./bootstrap.sh
|
||||
|
||||
- run:
|
||||
name: copy headers
|
||||
working_directory: /tmp/boost
|
||||
command: ./b2 headers
|
||||
|
||||
- run:
|
||||
name: build tests
|
||||
working_directory: /tmp/boost
|
||||
command: |
|
||||
./b2 -j 2 cxxstd=latest libs/beast/test
|
||||
./b2 -j 2 cxxstd=latest libs/beast/example
|
@ -1,5 +1,6 @@
|
||||
Version XXX:
|
||||
|
||||
* enable circleci integration
|
||||
* flat_buffer shrink_to_fit is noexcept
|
||||
* moved-from dynamic buffers do not clear if different allocator
|
||||
* fix erase field
|
||||
|
Reference in New Issue
Block a user