Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions .drone.star
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,20 @@ def main(ctx):
# Compilers
[
'gcc >=5.0',
'clang >=3.8',
'clang >=3.9',
'msvc >=14.1',
'arm64-gcc latest',
's390x-gcc latest',
# 'freebsd-gcc latest',
'apple-clang *',
'arm64-clang latest',
's390x-clang latest',
# 'x86-msvc latest'
'freebsd-clang latest',
'x86-msvc latest'
],
# Standards
'>=11',
packages=['zlib1g', 'zlib1g-dev'])
packages=['zlib1g', 'zlib1g-dev', 'libbrotli-dev'])

# from https://github.com/cppalliance/ci-automation
load("@ci_automation//ci/drone/:functions.star", "linux_cxx", "windows_cxx", "osx_cxx", "freebsd_cxx", "generate")
4 changes: 4 additions & 0 deletions .drone/drone.bat
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ echo using zlib : : : ^<warnings^>off ^; >> !BOOST_ROOT!\project-config.jam
REM Customizations
cd
pushd !BOOST_ROOT!\libs
git clone https://github.com/cppalliance/rts -b !BOOST_BRANCH! --depth 1
popd
pushd !BOOST_ROOT!\libs
git clone https://github.com/cppalliance/buffers -b !BOOST_BRANCH! --depth 1
popd
pushd !BOOST_ROOT!\libs
Expand All @@ -53,6 +56,7 @@ git clone https://github.com/cppalliance/ws_proto -b !BOOST_BRANCH! --depth 1
popd

pushd !BOOST_ROOT!
python tools/boostdep/depinst/depinst.py rts
python tools/boostdep/depinst/depinst.py buffers
python tools/boostdep/depinst/depinst.py http_proto
python tools/boostdep/depinst/depinst.py ws_proto
Expand Down
12 changes: 12 additions & 0 deletions .drone/drone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ common_install () {

. ./ci/common_install.sh

if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
pushd $BOOST_ROOT/libs
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
popd
fi

if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
pushd $BOOST_ROOT/libs
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
Expand Down Expand Up @@ -134,6 +140,12 @@ cp -r $DRONE_BUILD_DIR/* libs/$SELF
git submodule update --init --recursive

# Customizations
if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
pushd $BOOST_ROOT/libs
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
popd
fi

if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
pushd $BOOST_ROOT/libs
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
Expand Down
Loading
Loading