indentation
This commit is contained in:
parent
fda4cd9ccb
commit
b6c83ccec9
74
.drone.yml
74
.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?
|
||||
|
Loading…
Reference in New Issue
Block a user