From b6c83ccec90ebe4633ae51c08b4d22f406281a3d Mon Sep 17 00:00:00 2001 From: Paul Reeves Date: Mon, 15 May 2023 11:07:40 +0200 Subject: [PATCH] indentation --- .drone.yml | 74 ++++++++++++++++++++++++++---------------------------- 1 file changed, 36 insertions(+), 38 deletions(-) diff --git a/.drone.yml b/.drone.yml index ce9f9df..22c567c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -13,48 +13,46 @@ imagedefs: image: dctl-registry.dcinet:5000/suse-15.4/gcc-113 steps: -- name: build - <<: *anchor_compiler_image - volumes: - - name: tempx - path: /tmp - - name: cache - path: /tmp/cache - - commands: - - export CC=gcc - - make -f makefile.shared test_standalone >test_gcc_1.txt 2>test_gcc_2.txt - - ./test >test_std.txt 2>test_err.txt + - name: build + <<: *anchor_compiler_image + volumes: + - name: tempx + path: /tmp + - name: cache + path: /tmp/cache + commands: + - export CC=gcc + - make -f makefile.shared test_standalone >test_gcc_1.txt 2>test_gcc_2.txt + - ./test >test_std.txt 2>test_err.txt -- name: build-fail - <<: *anchor_compiler_image - commands: - - echo "Go do some debugging - you've got $${SLEEP} seconds" - - sleep $${SLEEP} - - cat test_gcc_1.txt - - cat test_std.txt - - cat test_err.txt + - name: build-fail + <<: *anchor_compiler_image + commands: + - echo "Go do some debugging - you've got $${SLEEP} seconds" + - sleep $${SLEEP} + - cat test_gcc_1.txt + - cat test_std.txt + - cat test_err.txt + when: + status: + - failure - when: - status: - - failure + - name: build-success + <<: *anchor_compiler_image + commands: + # - echo "Go check where the binaries are - you've got $${SLEEP} seconds" + # - sleep $${SLEEP} + - cat test_gcc_2.txt + when: + status: + - success -- name: build-success - <<: *anchor_compiler_image - commands: -# - echo "Go check where the binaries are - you've got $${SLEEP} seconds" -# - sleep $${SLEEP} - - cat test_gcc_2.txt - when: - status: - - success - -- name: build-install - <<: *anchor_compiler_image - depends_on: build-success - commands: - - make install + - name: build-install + <<: *anchor_compiler_image + depends_on: build-success + commands: + - make install # ### TODO package up the contents of .libs and maybe the public header?