Skip to content

Commit f08efd6

Browse files
committed
fix ci and build scripts
1 parent 4ac5278 commit f08efd6

File tree

11 files changed

+145
-105
lines changed

11 files changed

+145
-105
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: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,17 @@ echo using zlib : : : ^<warnings^>off ^; >> !BOOST_ROOT!\project-config.jam
4343
REM Customizations
4444
cd
4545
pushd !BOOST_ROOT!\libs
46+
git clone https://github.com/cppalliance/rts -b !BOOST_BRANCH! --depth 1
47+
popd
48+
pushd !BOOST_ROOT!\libs
4649
git clone https://github.com/cppalliance/buffers -b !BOOST_BRANCH! --depth 1
4750
popd
4851
pushd !BOOST_ROOT!\libs
4952
git clone https://github.com/cppalliance/http_proto -b !BOOST_BRANCH! --depth 1
5053
popd
5154

5255
pushd !BOOST_ROOT!
56+
python tools/boostdep/depinst/depinst.py rts
5357
python tools/boostdep/depinst/depinst.py buffers
5458
python tools/boostdep/depinst/depinst.py http_proto
5559
python tools/boostdep/depinst/depinst.py ws_proto

.drone/drone.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,12 @@ common_install () {
3535

3636
. ./ci/common_install.sh
3737

38+
if [ ! -d "$BOOST_ROOT/libs/rts" ]; then
39+
pushd $BOOST_ROOT/libs
40+
git clone https://github.com/cppalliance/rts -b $BOOST_BRANCH --depth 1
41+
popd
42+
fi
43+
3844
if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
3945
pushd $BOOST_ROOT/libs
4046
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1
@@ -127,6 +133,12 @@ cp -r $DRONE_BUILD_DIR/* libs/$SELF
127133
git submodule update --init --recursive
128134

129135
# Customizations
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
139+
popd
140+
fi
141+
130142
if [ ! -d "$BOOST_ROOT/libs/buffers" ]; then
131143
pushd $BOOST_ROOT/libs
132144
git clone https://github.com/cppalliance/buffers -b $BOOST_BRANCH --depth 1

0 commit comments

Comments
 (0)