Skip to content

Update examples #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 5, 2025
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")
7 changes: 5 additions & 2 deletions .drone/drone.bat
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,13 @@ set ZLIB_SOURCE=!BOOST_ROOT!\zlib-src
REM Customizations
cd
pushd !BOOST_ROOT!\libs
git clone https://github.com/CPPAlliance/buffers -b !BOOST_BRANCH! --depth 1
git clone https://github.com/cppalliance/buffers -b !BOOST_BRANCH! --depth 1
popd
pushd !BOOST_ROOT!\libs
git clone https://github.com/CPPAlliance/http_proto -b !BOOST_BRANCH! --depth 1
git clone https://github.com/cppalliance/rts -b !BOOST_BRANCH! --depth 1
popd
pushd !BOOST_ROOT!\libs
git clone https://github.com/cppalliance/http_proto -b !BOOST_BRANCH! --depth 1
popd

echo '==================================> COMPILE'
Expand Down
20 changes: 16 additions & 4 deletions .drone/drone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,19 @@ common_install () {

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

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/http_proto" ]; then
pushd $BOOST_ROOT/libs
git clone https://github.com/CPPAlliance/http_proto -b $BOOST_BRANCH --depth 1
git clone https://github.com/cppalliance/http_proto -b $BOOST_BRANCH --depth 1
popd
fi
}
Expand Down Expand Up @@ -123,13 +129,19 @@ git submodule update --init --recursive
# Customizations
if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
pushd $BOOST_ROOT/libs
git clone https://github.com/CPPAlliance/buffers -b $BOOST_BRANCH --depth 1
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
popd
fi

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/http_proto" ]; then
pushd $BOOST_ROOT/libs
git clone https://github.com/CPPAlliance/http_proto -b $BOOST_BRANCH --depth 1
git clone https://github.com/cppalliance/http_proto -b $BOOST_BRANCH --depth 1
popd
fi

Expand Down
Loading
Loading