2020-02-11 13:40:00 -08:00
|
|
|
local test_compiler_version(version) = [
|
|
|
|
"cd code/compiler/%(version)",
|
|
|
|
"mkdir build && cd build",
|
|
|
|
"cd .."
|
|
|
|
]
|
|
|
|
|
2020-02-11 13:35:36 -08:00
|
|
|
{
|
|
|
|
"kind": "pipeline",
|
|
|
|
"type": "docker",
|
|
|
|
"name": "default",
|
|
|
|
"steps": [
|
|
|
|
{
|
|
|
|
"name": "test-compiler",
|
|
|
|
"image": "gcc",
|
2020-02-11 13:40:00 -08:00
|
|
|
"commands": std.flatMap(test_compiler_version, [4,5,6,7,8,9])
|
2020-02-11 13:35:36 -08:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|