mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2025-02-06 02:25:23 +00:00
0948bc8d3a
The builders use the existing dev_container to run tests for the 3 currently supported architectures on linux: x86_64, aarch64 and armhf. A new recipe 'build_linux' has been added runs the dev_container to build and execute tests. To share code with other upcoming recipes, some of the recipe code has been extracted into a shared crosvm module. Basic tests for the recipes have been added. BUG=b:233230344 TEST=./recipes.py test run ./recipes.py run build_linux Change-Id: I17ecb25c0a0eabdce56537831454ac22d4dc7021 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3654196 Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Daniel Verkamp <dverkamp@chromium.org>
73 lines
No EOL
1.5 KiB
JSON
73 lines
No EOL
1.5 KiB
JSON
[
|
|
{
|
|
"cmd": [
|
|
"./tools/dev_container",
|
|
"--verbose",
|
|
"--hermetic",
|
|
"true"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Download container image"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"./tools/dev_container",
|
|
"--verbose",
|
|
"--hermetic",
|
|
"./tools/run_tests",
|
|
"--verbose",
|
|
"--build-only",
|
|
"--target=host"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Build crosvm tests"
|
|
},
|
|
{
|
|
"cmd": [
|
|
"./tools/dev_container",
|
|
"--verbose",
|
|
"--hermetic",
|
|
"./tools/run_tests",
|
|
"--verbose",
|
|
"--target=host"
|
|
],
|
|
"cwd": "[CACHE]/builder/crosvm",
|
|
"luci_context": {
|
|
"realm": {
|
|
"name": "crosvm/crosvm:ci"
|
|
},
|
|
"resultdb": {
|
|
"current_invocation": {
|
|
"name": "invocations/build:8945511751514863184",
|
|
"update_token": "token"
|
|
},
|
|
"hostname": "rdbhost"
|
|
}
|
|
},
|
|
"name": "Run crosvm tests"
|
|
}
|
|
] |