blog-static/.drone.jsonnet

22 lines
450 B
Plaintext

local compiler_versions = [
"04", "05", "06", "07", "08", "09"
];
local test_compiler_version(version) = [
"cd code/compiler/%(version)",
"mkdir build && cd build",
"cd .."
];
{
"kind": "pipeline",
"type": "docker",
"name": "default",
"steps": [
{
"name": "test-compiler",
"image": "gcc",
"commands": std.flatMap(test_compiler_version, compiler_versions)
}
]
}