From a5b84bab69f419a7dc1cb169c4e0a2180c46c42b Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Tue, 11 Feb 2020 14:25:44 -0800 Subject: [PATCH] Revert to YAML --- .drone.jsonnet | 23 ----------------------- .drone.yml | 10 ++++++++++ 2 files changed, 10 insertions(+), 23 deletions(-) delete mode 100644 .drone.jsonnet create mode 100644 .drone.yml diff --git a/.drone.jsonnet b/.drone.jsonnet deleted file mode 100644 index 9fc8d8c..0000000 --- a/.drone.jsonnet +++ /dev/null @@ -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) - } - ] - } -] diff --git a/.drone.yml b/.drone.yml new file mode 100644 index 0000000..09810d0 --- /dev/null +++ b/.drone.yml @@ -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