Jsonnet test 5

This commit is contained in:
Jacob Kiers 2022-08-10 22:57:46 +00:00
parent 1d32bbcd8b
commit 9814fdb425
1 changed files with 11 additions and 8 deletions

View File

@ -1,3 +1,11 @@
local buildForArch(arch) = {
"name": "check",
"image": "rust:1.62",
"commands": [
"echo Hello World from Jsonnet on " + arch + "!",
"cargo check",
]
}
{ {
"kind": "pipeline", "kind": "pipeline",
"type": "docker", "type": "docker",
@ -6,13 +14,8 @@
"arch": "amd64" "arch": "amd64"
}, },
"steps": [ "steps": [
{ buildForArch('amd64'),
"name": "check", buildForArch('aarch64'),
"image": "rust:1.62", buildForArch('windows')
"commands": [
"echo Hello World from Jsonnet!",
"cargo check",
]
}
] ]
} }