Skip to content

Commit 70bfd30

Browse files
committed
added missing file
1 parent 85209b5 commit 70bfd30

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

.drone/drone.sh

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
#!/bin/bash
2+
3+
# Copyright 2022 Peter Dimov
4+
# Distributed under the Boost Software License, Version 1.0.
5+
# https://www.boost.org/LICENSE_1_0.txt
6+
7+
set -ex
8+
export PATH=~/.local/bin:/usr/local/bin:$PATH
9+
10+
DRONE_BUILD_DIR=$(pwd)
11+
12+
BOOST_BRANCH=develop
13+
if [ "$DRONE_BRANCH" = "master" ]; then BOOST_BRANCH=master; fi
14+
15+
cd ..
16+
git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root
17+
cd boost-root
18+
git submodule update --init tools/boostdep
19+
cp -r $DRONE_BUILD_DIR/* libs/$LIBRARY
20+
python tools/boostdep/depinst/depinst.py -I examples $LIBRARY
21+
./bootstrap.sh
22+
./b2 -d0 headers
23+
24+
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
25+
./b2 -j3 libs/$LIBRARY/test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release ${ADDRMD:+address-model=$ADDRMD} ${UBSAN:+undefined-sanitizer=norecover debug-symbols=on} ${ASAN:+address-sanitizer=norecover debug-symbols=on} ${LINKFLAGS:+linkflags=$LINKFLAGS}

0 commit comments

Comments
 (0)