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
|
image: dctl-registry.dcinet:5000/suse-15.4/gcc-113
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
<<: *anchor_compiler_image
|
<<: *anchor_compiler_image
|
||||||
volumes:
|
volumes:
|
||||||
- name: tempx
|
- name: tempx
|
||||||
path: /tmp
|
path: /tmp
|
||||||
- name: cache
|
- name: cache
|
||||||
path: /tmp/cache
|
path: /tmp/cache
|
||||||
|
commands:
|
||||||
commands:
|
- export CC=gcc
|
||||||
- export CC=gcc
|
- make -f makefile.shared test_standalone >test_gcc_1.txt 2>test_gcc_2.txt
|
||||||
- make -f makefile.shared test_standalone >test_gcc_1.txt 2>test_gcc_2.txt
|
- ./test >test_std.txt 2>test_err.txt
|
||||||
- ./test >test_std.txt 2>test_err.txt
|
|
||||||
|
|
||||||
|
|
||||||
- name: build-fail
|
- name: build-fail
|
||||||
<<: *anchor_compiler_image
|
<<: *anchor_compiler_image
|
||||||
commands:
|
commands:
|
||||||
- echo "Go do some debugging - you've got $${SLEEP} seconds"
|
- echo "Go do some debugging - you've got $${SLEEP} seconds"
|
||||||
- sleep $${SLEEP}
|
- sleep $${SLEEP}
|
||||||
- cat test_gcc_1.txt
|
- cat test_gcc_1.txt
|
||||||
- cat test_std.txt
|
- cat test_std.txt
|
||||||
- cat test_err.txt
|
- cat test_err.txt
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
|
|
||||||
when:
|
- name: build-success
|
||||||
status:
|
<<: *anchor_compiler_image
|
||||||
- failure
|
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
|
- name: build-install
|
||||||
<<: *anchor_compiler_image
|
<<: *anchor_compiler_image
|
||||||
commands:
|
depends_on: build-success
|
||||||
# - echo "Go check where the binaries are - you've got $${SLEEP} seconds"
|
commands:
|
||||||
# - sleep $${SLEEP}
|
- make install
|
||||||
- cat test_gcc_2.txt
|
|
||||||
when:
|
|
||||||
status:
|
|
||||||
- success
|
|
||||||
|
|
||||||
- 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?
|
# ### TODO package up the contents of .libs and maybe the public header?
|
||||||
|
Loading…
Reference in New Issue
Block a user