Skip to content

Commit f0b05bb

Browse files
committed
Allow privileged access
1 parent 87523d8 commit f0b05bb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

.drone.jsonnet

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ local linux_pipeline(name, image, environment, packages = "", sources = [], arch
2828
{
2929
name: "everything",
3030
image: image,
31+
privileged: true,
3132
environment: environment,
3233
commands:
3334
[

.drone/drone.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,5 +24,9 @@ python tools/boostdep/depinst/depinst.py -I example $LIBRARY
2424
./bootstrap.sh
2525
./b2 -d0 headers
2626

27+
if [[ $(uname) == "Linux" ]]; then
28+
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
29+
fi
30+
2731
echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
2832
./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} ${CXXFLAGS:+cxxflags=$CXXFLAGS} ${CXXSTDDIALECT:+cxxstd-dialect=$CXXSTDDIALECT} ${LINKFLAGS:+linkflags=$LINKFLAGS}

0 commit comments

Comments
 (0)