awl/.drone.jsonnet
Sam 8c057e1f15
All checks were successful
continuous-integration/drone/push Build is passing
ci: change YAML to jsonnet (#34)
2022-07-12 23:13:37 +00:00

22 lines
No EOL
362 B
Text

local pipeline(version, arch) = {
kind: "pipeline",
name: version + "-" + arch ,
platform: {
arch: arch
},
steps: [
{
name: "test",
image: "golang:" + version,
commands: [
"go test ./..."
]
}
]
};
// logawl uses generics so 1.18 is the minimum
[
pipeline("1.18", "amd64"),
pipeline("1.18", "arm64"),
]