mirror of
https://github.com/dart-lang/sdk
synced 2024-10-14 17:59:39 +00:00
[infra] Add configurations for NNBD QEMU.
Change-Id: Id3bb6d1b09ccbfe445d2f5132e1f3b07b4edd852 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/296060 Reviewed-by: Daco Harkes <dacoharkes@google.com> Reviewed-by: Alexander Thomas <athom@google.com>
This commit is contained in:
parent
7bbf7ff43e
commit
07326f7762
|
@ -362,6 +362,12 @@
|
||||||
"flutter-frontend": {
|
"flutter-frontend": {
|
||||||
"__comment__": "This configuration is only used for a custom test runner. If it conflicts with a new configuration you are adding, you can make this configuration more specific by adding options."
|
"__comment__": "This configuration is only used for a custom test runner. If it conflicts with a new configuration you are adding, you can make this configuration more specific by adding options."
|
||||||
},
|
},
|
||||||
|
"vm-ffi-unit-test-temp": {
|
||||||
|
"__comment__": "Preventing conflict until old builder removed",
|
||||||
|
"options": {
|
||||||
|
"builder-tag": "ffi-temp"
|
||||||
|
}
|
||||||
|
},
|
||||||
"vm-ffi-unit-test": {
|
"vm-ffi-unit-test": {
|
||||||
"__comment__": "This configuration is only used for a custom test runner. If it conflicts with a new configuration you are adding, you can make this configuration more specific by adding options.",
|
"__comment__": "This configuration is only used for a custom test runner. If it conflicts with a new configuration you are adding, you can make this configuration more specific by adding options.",
|
||||||
"options": {
|
"options": {
|
||||||
|
@ -717,6 +723,12 @@
|
||||||
"nnbd": "strong"
|
"nnbd": "strong"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"vm-linux-(debug|product|release)-(arm|arm64|arm64c|riscv32|riscv64)-qemu": {
|
||||||
|
"options": {
|
||||||
|
"use-qemu": true,
|
||||||
|
"nnbd": "strong"
|
||||||
|
}
|
||||||
|
},
|
||||||
"dartk-linux-(debug|product|release)-(arm|arm64|arm64c|riscv32|riscv64)-qemu": {
|
"dartk-linux-(debug|product|release)-(arm|arm64|arm64c|riscv32|riscv64)-qemu": {
|
||||||
"options": {
|
"options": {
|
||||||
"use-qemu": true,
|
"use-qemu": true,
|
||||||
|
@ -725,6 +737,12 @@
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"vm-aot-linux-(debug|product|release)-(arm|arm64|arm64c|riscv32|riscv64)-qemu": {
|
||||||
|
"options": {
|
||||||
|
"use-qemu": true,
|
||||||
|
"nnbd": "strong"
|
||||||
|
}
|
||||||
|
},
|
||||||
"dartkp-linux-(debug|product|release)-(arm|arm64|arm64c|riscv32|riscv64)-qemu": {
|
"dartkp-linux-(debug|product|release)-(arm|arm64|arm64c|riscv32|riscv64)-qemu": {
|
||||||
"options": {
|
"options": {
|
||||||
"use-qemu": true,
|
"use-qemu": true,
|
||||||
|
@ -1053,7 +1071,7 @@
|
||||||
{
|
{
|
||||||
"name": "vm ffi unit tests",
|
"name": "vm ffi unit tests",
|
||||||
"arguments": [
|
"arguments": [
|
||||||
"-nvm-ffi-unit-test",
|
"-nvm-ffi-unit-test-temp",
|
||||||
"ffi_unit"
|
"ffi_unit"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
@ -1134,6 +1152,106 @@
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"builders": [
|
||||||
|
"vm-ffi-qemu-linux-release-arm"
|
||||||
|
],
|
||||||
|
"meta": {
|
||||||
|
"description": "This configuration is used for running vm unit tests and FFI tests on qemu and FFI unit tests."
|
||||||
|
},
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"name": "build run_ffi_unit_tests",
|
||||||
|
"script": "tools/build.py",
|
||||||
|
"arguments": [
|
||||||
|
"--arch=x64",
|
||||||
|
"--mode=debug",
|
||||||
|
"run_ffi_unit_tests"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vm ffi unit tests",
|
||||||
|
"arguments": [
|
||||||
|
"-nvm-ffi-unit-test",
|
||||||
|
"ffi_unit"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "build dart",
|
||||||
|
"script": "tools/build.py",
|
||||||
|
"arguments": [
|
||||||
|
"--use-qemu",
|
||||||
|
"dart_precompiled_runtime",
|
||||||
|
"runtime"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "build dart",
|
||||||
|
"script": "tools/build.py",
|
||||||
|
"arguments": [
|
||||||
|
"--arch=simarm_x64",
|
||||||
|
"gen_snapshot"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vm unit tests",
|
||||||
|
"arguments": [
|
||||||
|
"-nvm-linux-${mode}-arm-qemu",
|
||||||
|
"vm/cc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vm aot ffi tests",
|
||||||
|
"arguments": [
|
||||||
|
"-nvm-aot-linux-${mode}-arm-qemu",
|
||||||
|
"ffi"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"builders": [
|
||||||
|
"vm-ffi-qemu-linux-release-riscv64"
|
||||||
|
],
|
||||||
|
"meta": {
|
||||||
|
"description": "This configuration is used for running vm unit tests and FFI tests on qemu and FFI unit tests."
|
||||||
|
},
|
||||||
|
"steps": [
|
||||||
|
{
|
||||||
|
"name": "build dart",
|
||||||
|
"script": "tools/build.py",
|
||||||
|
"arguments": [
|
||||||
|
"--no-clang",
|
||||||
|
"--no-goma",
|
||||||
|
"--use-qemu",
|
||||||
|
"dart_precompiled_runtime",
|
||||||
|
"runtime"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "build dart",
|
||||||
|
"script": "tools/build.py",
|
||||||
|
"arguments": [
|
||||||
|
"--arch=simriscv64",
|
||||||
|
"gen_snapshot"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vm unit tests",
|
||||||
|
"arguments": [
|
||||||
|
"-nvm-linux-${mode}-riscv64-qemu",
|
||||||
|
"vm/cc"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "vm aot ffi tests",
|
||||||
|
"arguments": [
|
||||||
|
"-nvm-aot-linux-${mode}-riscv64-qemu",
|
||||||
|
"ffi"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"builders": [
|
"builders": [
|
||||||
"vm-kernel-precomp-linux-release-x64"
|
"vm-kernel-precomp-linux-release-x64"
|
||||||
|
|
Loading…
Reference in a new issue