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",
"type": "docker",
@ -6,13 +14,8 @@
"arch": "amd64"
},
"steps": [
{
"name": "check",
"image": "rust:1.62",
"commands": [
"echo Hello World from Jsonnet!",
"cargo check",
]
}
buildForArch('amd64'),
buildForArch('aarch64'),
buildForArch('windows')
]
}