Skip to content

Commit 794571e

Browse files
committed
Update examples
1 parent e819dfc commit 794571e

File tree

19 files changed

+229
-192
lines changed

19 files changed

+229
-192
lines changed

.drone.star

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,20 @@ def main(ctx):
1515
# Compilers
1616
[
1717
'gcc >=5.0',
18-
'clang >=3.8',
18+
'clang >=3.9',
1919
'msvc >=14.1',
2020
'arm64-gcc latest',
2121
's390x-gcc latest',
2222
# 'freebsd-gcc latest',
2323
'apple-clang *',
2424
'arm64-clang latest',
2525
's390x-clang latest',
26-
# 'x86-msvc latest'
26+
'freebsd-clang latest',
27+
'x86-msvc latest'
2728
],
2829
# Standards
2930
'>=11',
30-
packages=['zlib1g', 'zlib1g-dev'])
31+
packages=['zlib1g', 'zlib1g-dev', 'libbrotli-dev'])
3132

3233
# from https://github.com/cppalliance/ci-automation
3334
load("@ci_automation//ci/drone/:functions.star", "linux_cxx", "windows_cxx", "osx_cxx", "freebsd_cxx", "generate")

.drone/drone.bat

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,13 @@ set ZLIB_SOURCE=!BOOST_ROOT!\zlib-src
4141
REM Customizations
4242
cd
4343
pushd !BOOST_ROOT!\libs
44-
git clone https://github.com/CPPAlliance/buffers -b !BOOST_BRANCH! --depth 1
44+
git clone https://github.com/cppalliance/buffers -b !BOOST_BRANCH! --depth 1
4545
popd
4646
pushd !BOOST_ROOT!\libs
47-
git clone https://github.com/CPPAlliance/http_proto -b !BOOST_BRANCH! --depth 1
47+
git clone https://github.com/cppalliance/rts -b !BOOST_BRANCH! --depth 1
48+
popd
49+
pushd !BOOST_ROOT!\libs
50+
git clone https://github.com/cppalliance/http_proto -b !BOOST_BRANCH! --depth 1
4851
popd
4952

5053
echo '==================================> COMPILE'

.drone/drone.sh

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,19 @@ common_install () {
3737

3838
if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
3939
pushd $BOOST_ROOT/libs
40-
git clone https://github.com/CPPAlliance/buffers -b $BOOST_BRANCH --depth 1
40+
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
41+
popd
42+
fi
43+
44+
if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
45+
pushd $BOOST_ROOT/libs
46+
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
4147
popd
4248
fi
4349

4450
if [ ! -d "$BOOST_ROOT/libs/http_proto" ]; then
4551
pushd $BOOST_ROOT/libs
46-
git clone https://github.com/CPPAlliance/http_proto -b $BOOST_BRANCH --depth 1
52+
git clone https://github.com/cppalliance/http_proto -b $BOOST_BRANCH --depth 1
4753
popd
4854
fi
4955
}
@@ -123,13 +129,19 @@ git submodule update --init --recursive
123129
# Customizations
124130
if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
125131
pushd $BOOST_ROOT/libs
126-
git clone https://github.com/CPPAlliance/buffers -b $BOOST_BRANCH --depth 1
132+
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
133+
popd
134+
fi
135+
136+
if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
137+
pushd $BOOST_ROOT/libs
138+
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
127139
popd
128140
fi
129141

130142
if [ ! -d "$BOOST_ROOT/libs/http_proto" ]; then
131143
pushd $BOOST_ROOT/libs
132-
git clone https://github.com/CPPAlliance/http_proto -b $BOOST_BRANCH --depth 1
144+
git clone https://github.com/cppalliance/http_proto -b $BOOST_BRANCH --depth 1
133145
popd
134146
fi
135147

0 commit comments

Comments
 (0)