Revert to YAML
This commit is contained in:
parent
12725500a8
commit
a5b84bab69
|
@ -1,23 +0,0 @@
|
||||||
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)
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
]
|
|
10
.drone.yml
Normal file
10
.drone.yml
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
kind: pipeline
|
||||||
|
type: docker
|
||||||
|
name: default
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- name: test-compiler
|
||||||
|
image: gcc
|
||||||
|
commands:
|
||||||
|
- cd code/compiler/09
|
||||||
|
- mkdir build && cd build
|
Loading…
Reference in New Issue
Block a user