Skip to content

Commit 32ab902

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

File tree

10 files changed

+141
-102
lines changed

10 files changed

+141
-102
lines changed

.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)