crosvm/infra/recipes/build_windows.expected/build.json
Dennis Kempin 323d267a8c infra: Add build_windows recipe
Refactors the crosvm recipe API a little to provide 3 different
environments for builds: Just the source, building with containers
and building on the host.

For building on the host, we will install rustup-init via CIPD and
then use rustup to install the required rust version.

BUG=b:233914170
TEST=./recipes.py run build_windows

Change-Id: I12ef22f286af584edeb02beed4d231565b698099
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3718900
Reviewed-by: Vikram Auradkar <auradkar@google.com>
Tested-by: kokoro <noreply+kokoro@google.com>
2022-07-01 20:11:59 +00:00

68 lines
No EOL
1.5 KiB
JSON

[
{
"cmd": [
"vpython3",
"./tools/run_tests",
"--verbose",
"--target=host",
"--build-only"
],
"cwd": "[CACHE]/builder/crosvm",
"env": {
"CARGO_HOME": "[CACHE]/crosvm_api/cargo_home",
"CARGO_TARGET_DIR": "[CLEANUP]/cargo_target",
"RUSTUP_HOME": "[CACHE]/crosvm_api/rustup"
},
"env_prefixes": {
"PATH": [
"[CACHE]/crosvm_api/cargo_home/bin",
"[CACHE]/crosvm_api/local_bin"
]
},
"luci_context": {
"realm": {
"name": "crosvm/crosvm:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Build crosvm tests"
},
{
"cmd": [
"vpython3",
"./tools/run_tests",
"--target=host"
],
"cwd": "[CACHE]/builder/crosvm",
"env": {
"CARGO_HOME": "[CACHE]/crosvm_api/cargo_home",
"CARGO_TARGET_DIR": "[CLEANUP]/cargo_target",
"RUSTUP_HOME": "[CACHE]/crosvm_api/rustup"
},
"env_prefixes": {
"PATH": [
"[CACHE]/crosvm_api/cargo_home/bin",
"[CACHE]/crosvm_api/local_bin"
]
},
"luci_context": {
"realm": {
"name": "crosvm/crosvm:ci"
},
"resultdb": {
"current_invocation": {
"name": "invocations/build:8945511751514863184",
"update_token": "token"
},
"hostname": "rdbhost"
}
},
"name": "Run crosvm tests"
}
]