drone-test/.drone.jsonnet
Jacob Kiers 5193063f93
All checks were successful
continuous-integration/drone/push Build is passing
Jsonnet test 7
2022-08-10 22:59:20 +00:00

21 lines
429 B
Plaintext

local buildForArch(arch) = {
"name": "check-"+arch,
"image": "rust:1.62",
"commands": [
"echo Hello World from Jsonnet on " + arch + "!",
"cargo check",
]
};
{
"kind": "pipeline",
"type": "docker",
"name": "default",
"platform": {
"arch": "amd64"
},
"steps": [
buildForArch('amd64'),
buildForArch('aarch64'),
buildForArch('windows'),
]
}