blog-static/.drone.jsonnet

24 lines
502 B
Plaintext
Raw Normal View History

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