mirror of
https://github.com/boostorg/system.git
synced 2025-08-16 04:20:54 +02:00
Update .drone.jsonnet
This commit is contained in:
@@ -26,10 +26,11 @@ local linux_pipeline(name, image, environment, packages = "", sources = [], arch
|
|||||||
"environment": environment,
|
"environment": environment,
|
||||||
"commands":
|
"commands":
|
||||||
[
|
[
|
||||||
'set -e'
|
'set -e',
|
||||||
|
'wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add -',
|
||||||
] +
|
] +
|
||||||
(if sources != [] then [ ('apt-add-repository "' + source + '"') for source in sources ] else []) +
|
(if sources != [] then [ ('apt-add-repository "' + source + '"') for source in sources ] else []) +
|
||||||
(if packages != "" then [ "apt-get update; apt-get -y install " + packages ] else []) +
|
(if packages != "" then [ 'apt-get update', 'apt-get -y install ' + packages ] else []) +
|
||||||
[
|
[
|
||||||
'SELF=system',
|
'SELF=system',
|
||||||
|
|
||||||
@@ -46,7 +47,7 @@ local linux_pipeline(name, image, environment, packages = "", sources = [], arch
|
|||||||
'./b2 -d0 headers',
|
'./b2 -d0 headers',
|
||||||
|
|
||||||
'echo "using $TOOLSET : : $COMPILER ;" > ~/user-config.jam',
|
'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}'
|
'./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}',
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
@@ -88,6 +89,13 @@ local windows_pipeline =
|
|||||||
arch="arm64",
|
arch="arm64",
|
||||||
),
|
),
|
||||||
|
|
||||||
|
linux_pipeline(
|
||||||
|
"Linux 20.04 GCC 10",
|
||||||
|
"cppalliance/droneubuntu2004:1",
|
||||||
|
{ TOOLSET: 'gcc', COMPILER: 'g++', CXXSTD: '17', ADDRMD: '64' },
|
||||||
|
"gcc-10",
|
||||||
|
),
|
||||||
|
|
||||||
linux_pipeline(
|
linux_pipeline(
|
||||||
"Linux 20.04 Clang 13",
|
"Linux 20.04 Clang 13",
|
||||||
"cppalliance/droneubuntu2004:1",
|
"cppalliance/droneubuntu2004:1",
|
||||||
|
Reference in New Issue
Block a user