mirror of
https://github.com/boostorg/math.git
synced 2026-01-19 04:22:09 +00:00
Move sanitizer tests from CircleCI to drone.
This commit is contained in:
@@ -32,6 +32,13 @@ def main(ctx):
|
||||
for cxx in gnu_10_stds:
|
||||
result.append(linux_cxx("Ubunti g++-10 " + cxx + " " + suite, "g++-10", packages="g++-10", buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
|
||||
result.append(linux_cxx("Ubunti clang++-10 " + cxx + " " + suite, "clang++-10", packages="clang-10", llvm_os="xenial", llvm_ver="10", buildtype="boost", image="cppalliance/droneubuntu1804:1", environment={'TOOLSET': 'clang', 'COMPILER': 'clang++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, }, globalenv=globalenv))
|
||||
#
|
||||
# Sanitizers:
|
||||
#
|
||||
result.append(linux_cxx("Ubunti g++-10 ASAN" + cxx + " " + suite, "g++-10", packages="g++-10", privileged=True, buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, 'OPTIONS': '<cxxflags>-fsanitize=address <linkflags>-fsanitize=address }, globalenv=globalenv))
|
||||
result.append(linux_cxx("Ubunti g++-10 USAN" + cxx + " " + suite, "g++-10", packages="g++-10", privileged=True, buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, 'OPTIONS': '<cxxflags>-fsanitize=undefined <linkflags>-fsanitize=undefined }, globalenv=globalenv))
|
||||
result.append(linux_cxx("Ubunti g++-10 TSAN" + cxx + " " + suite, "g++-10", packages="g++-10", privileged=True, buildtype="boost", image="cppalliance/droneubuntu2004:1", environment={'TOOLSET': 'gcc', 'COMPILER': 'g++-10', 'CXXSTD': cxx, 'TEST_SUITE': suite, 'OPTIONS': '<cxxflags>-fsanitize=thread <linkflags>-fsanitize=thread }, globalenv=globalenv))
|
||||
|
||||
|
||||
return result
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ echo '==================================> BEFORE_SCRIPT'
|
||||
|
||||
echo '==================================> SCRIPT'
|
||||
|
||||
echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD ;" > ~/user-config.jam
|
||||
echo "using $TOOLSET : : $COMPILER : <cxxflags>-std=$CXXSTD $OPTIONS ;" > ~/user-config.jam
|
||||
(cd libs/config/test && ../../../b2 config_info_travis_install toolset=$TOOLSET && ./config_info_travis)
|
||||
(cd libs/math/test && ../../../b2 -j3 toolset=$TOOLSET $TEST_SUITE)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user