[infra] Create bot configurations for AOT + sanitizers.

Bug: https://github.com/dart-lang/sdk/issues/39611
Change-Id: I1f242515e00b8de934986b1b430cc99e1466b1b7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/141660
Reviewed-by: Alexander Thomas <athom@google.com>
Commit-Queue: Ryan Macnak <rmacnak@google.com>
This commit is contained in:
Ryan Macnak 2020-04-01 19:34:38 +00:00 committed by commit-bot@chromium.org
parent 43115b0f75
commit 65e608d115

View file

@ -1706,6 +1706,172 @@
}
]
},
{
"builders": [
"vm-kernel-precomp-asan-linux-release-x64"
],
"meta": {
"description": "This configuration is used by the vm builders with AddressSanitizer (asan)."
},
"steps": [
{
"name": "configure dart",
"script": "tools/gn.py",
"arguments": [
"--mode=${mode}",
"--arch=${arch}",
"--sanitizer=asan"
]
},
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"--sanitizer=asan",
"runtime_precompiled"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-asan-linux-release-${arch}"
]
}
]
},
{
"builders": [
"vm-kernel-precomp-lsan-linux-release-x64"
],
"meta": {
"description": "This configuration is used by the vm builders with LeakSanitizer (lsan)."
},
"steps": [
{
"name": "configure dart",
"script": "tools/gn.py",
"arguments": [
"--mode=${mode}",
"--arch=${arch}",
"--sanitizer=lsan"
]
},
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"--sanitizer=lsan",
"runtime_precompiled"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-lsan-linux-release-${arch}"
]
}
]
},
{
"builders": [
"vm-kernel-precomp-msan-linux-release-x64"
],
"meta": {
"description": "This configuration is used by the vm builders with MemorySanitizer (msan)."
},
"steps": [
{
"name": "configure dart",
"script": "tools/gn.py",
"arguments": [
"--mode=${mode}",
"--arch=${arch}",
"--sanitizer=msan"
]
},
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"--sanitizer=msan",
"runtime_precompiled"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-msan-linux-release-${arch}"
]
}
]
},
{
"builders": [
"vm-kernel-precomp-tsan-linux-release-x64"
],
"meta": {
"description": "This configuration is used by the vm builders with ThreadSanitizer (tsan)."
},
"steps": [
{
"name": "configure dart",
"script": "tools/gn.py",
"arguments": [
"--mode=${mode}",
"--arch=${arch}",
"--sanitizer=tsan"
]
},
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"--sanitizer=tsan",
"runtime_precompiled"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-tsan-linux-release-${arch}",
"vm"
]
}
]
},
{
"builders": [
"vm-kernel-precomp-ubsan-linux-release-x64"
],
"meta": {
"description": "This configuration is used by the vm builders with UndefinedBehaviorSanitizer (ubsan)."
},
"steps": [
{
"name": "configure dart",
"script": "tools/gn.py",
"arguments": [
"--mode=${mode}",
"--arch=${arch}",
"--sanitizer=ubsan"
]
},
{
"name": "build dart",
"script": "tools/build.py",
"arguments": [
"--sanitizer=ubsan",
"runtime_precompiled"
]
},
{
"name": "vm tests",
"arguments": [
"-ndartkp-ubsan-linux-release-${arch}"
]
}
]
},
{
"builders": [
"vm-kernel-linux-release-simarm",