Jsonnet test 5
This commit is contained in:
parent
1d32bbcd8b
commit
9814fdb425
@ -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",
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
]
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user