mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
[test] Adds a KBC configuration to the test matrix
This is to run on FYI Change-Id: Ic62e858853a3ccb67d844ec454fd1819aa35b87d Reviewed-on: https://dart-review.googlesource.com/65780 Commit-Queue: Zach Anderson <zra@google.com> Reviewed-by: William Hesse <whesse@google.com>
This commit is contained in:
parent
8c8a211c6e
commit
1336802dee
2 changed files with 41 additions and 1 deletions
|
@ -491,6 +491,7 @@ class Compiler extends NamedEnum {
|
|||
static const appJitk = const Compiler._('app_jitk');
|
||||
static const dartk = const Compiler._('dartk');
|
||||
static const dartkp = const Compiler._('dartkp');
|
||||
static const dartkb = const Compiler._('dartkb');
|
||||
static const specParser = const Compiler._('spec_parser');
|
||||
static const fasta = const Compiler._('fasta');
|
||||
|
||||
|
@ -507,6 +508,7 @@ class Compiler extends NamedEnum {
|
|||
appJitk,
|
||||
dartk,
|
||||
dartkp,
|
||||
dartkb,
|
||||
specParser,
|
||||
fasta,
|
||||
], key: (compiler) => (compiler as Compiler).name);
|
||||
|
|
|
@ -246,7 +246,8 @@
|
|||
"options": {
|
||||
"preview-dart-2": false
|
||||
}},
|
||||
"app_jitk-linux-(debug|product|release)-x64": { }
|
||||
"app_jitk-linux-(debug|product|release)-x64": { },
|
||||
"dartkb-linux-(debug|release)-x64": { }
|
||||
},
|
||||
"builder_configurations": [
|
||||
{
|
||||
|
@ -325,6 +326,43 @@
|
|||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"builders": [
|
||||
"vm-dartkb-linux-debug-x64",
|
||||
"vm-dartkb-linux-release-x64"
|
||||
],
|
||||
"meta": {
|
||||
"description": "This configuration is used by the vm kbc builders."
|
||||
},
|
||||
"steps": [
|
||||
{
|
||||
"name": "configure dart",
|
||||
"script": "tools/gn.py",
|
||||
"arguments": [
|
||||
"--mode=debug,release",
|
||||
"--arch=x64",
|
||||
"--bytecode"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "build dart",
|
||||
"script": "tools/build.py",
|
||||
"arguments": [
|
||||
"--bytecode",
|
||||
"runtime"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "vm tests",
|
||||
"arguments": [
|
||||
"--compiler=dartkb",
|
||||
"-n=dartkb-linux-${mode}-x64",
|
||||
"vm",
|
||||
"language_2"
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"builders": [
|
||||
"vm-linux-product-x64",
|
||||
|
|
Loading…
Reference in a new issue