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