Try to build multiple compiler versions

This commit is contained in:
Danila Fedorin 2020-02-11 13:40:00 -08:00
parent d6f53076c0
commit c103c6acbf

View File

@ -1,3 +1,9 @@
local test_compiler_version(version) = [
"cd code/compiler/%(version)",
"mkdir build && cd build",
"cd .."
]
{ {
"kind": "pipeline", "kind": "pipeline",
"type": "docker", "type": "docker",
@ -6,10 +12,7 @@
{ {
"name": "test-compiler", "name": "test-compiler",
"image": "gcc", "image": "gcc",
"commands": [ "commands": std.flatMap(test_compiler_version, [4,5,6,7,8,9])
"cd code/compiler/09",
"mkdir build && cd build"
]
} }
] ]
} }