Skip to content

Commit

Permalink
Merge pull request #211 from sdarwin/feature/test1
Browse files Browse the repository at this point in the history
Drone: fixing ASAN
  • Loading branch information
mborland committed Jun 25, 2024
2 parents 9db7af7 + ff2b1e3 commit e77744b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .drone.jsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ local linux_pipeline(name, image, environment, packages = "", sources = [], arch
{
name: "everything",
image: image,
privileged: true,
environment: environment,
commands:
[
Expand Down
4 changes: 4 additions & 0 deletions .drone/drone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,5 +24,9 @@ python tools/boostdep/depinst/depinst.py -I example $LIBRARY
./bootstrap.sh
./b2 -d0 headers

if [[ $(uname) == "Linux" ]]; then
echo 0 | sudo tee /proc/sys/kernel/randomize_va_space
fi

echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam
./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 comments on commit e77744b

Please sign in to comment.