forked from boostorg/system
Update .drone.jsonnet
This commit is contained in:
@@ -26,9 +26,24 @@ local linux_pipeline(name, image, environment, arch = "amd64", sources = "", pac
|
||||
"environment": environment,
|
||||
"commands":
|
||||
[
|
||||
"uname -a",
|
||||
'SELF=system',
|
||||
|
||||
if sources != "" then "apt-add-repository " + sources else "",
|
||||
if packages != "" then "apt-get install " + packages else "",
|
||||
|
||||
'DRONE_BUILD_DIR=$(pwd)',
|
||||
'BOOST_BRANCH=develop && [ "$DRONE_BRANCH" == "master" ] && BOOST_BRANCH=master || true',
|
||||
'cd ..',
|
||||
'git clone -b $BOOST_BRANCH --depth 1 https://github.com/boostorg/boost.git boost-root',
|
||||
'cd boost-root',
|
||||
'git submodule update --init tools/boostdep',
|
||||
'cp -r $DRONE_BUILD_DIR/* libs/$SELF',
|
||||
'python tools/boostdep/depinst/depinst.py $SELF',
|
||||
'./bootstrap.sh',
|
||||
'./b2 headers',
|
||||
|
||||
'echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam',
|
||||
'./b2 -j3 libs/$SELF/test toolset=$TOOLSET cxxstd=$CXXSTD variant=debug,release ${ADDRMD:+address-model=$ADDRMD} ${UBSAN:+cxxflags=-fsanitize=undefined cxxflags=-fno-sanitize-recover=undefined linkflags=-fsanitize=undefined define=UBSAN=1 debug-symbols=on} ${LINKFLAGS:+linkflags=$LINKFLAGS}'
|
||||
]
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user