forked from ibphoenix/tomsfastmath
Fill out linux pipeline
This commit is contained in:
parent
c562cce807
commit
ef222418df
56
.drone.yml
56
.drone.yml
@ -9,11 +9,63 @@ environment:
|
|||||||
MYCC: "gcc"
|
MYCC: "gcc"
|
||||||
SHARED: "-f makefile.shared"
|
SHARED: "-f makefile.shared"
|
||||||
|
|
||||||
|
imagedefs:
|
||||||
|
- &anchor_compiler_image
|
||||||
|
image: dctl-registry.dcinet:5000/suse-15.4/gcc-113
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: gcc
|
<<: *anchor_compiler_image
|
||||||
|
volumes:
|
||||||
|
- name: tempx
|
||||||
|
path: /tmp
|
||||||
|
- name: cache
|
||||||
|
path: /tmp/cache
|
||||||
|
|
||||||
commands:
|
commands:
|
||||||
- ${MYCC}" make ${SHARED} test_standalone >test_gcc_1.txt 2>test_gcc_2.txt && ./test >test_std.txt 2>test_err.txt"
|
- ${MYCC}" make ${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:
|
||||||
|
- cat test_gcc_1.txt
|
||||||
|
- cat test_std.txt
|
||||||
|
- cat test_err.txt
|
||||||
|
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- failure
|
||||||
|
|
||||||
|
- name: build-success
|
||||||
|
<<: *anchor_compiler_image
|
||||||
|
commands:
|
||||||
|
- cat test_gcc_2.txt
|
||||||
|
when:
|
||||||
|
status:
|
||||||
|
- success
|
||||||
|
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
- name: cache
|
||||||
|
host:
|
||||||
|
path: /srv/dockerctl_icc/cache
|
||||||
|
- name: staging-icc
|
||||||
|
host:
|
||||||
|
path: /srv/dockerctl_icc/staging
|
||||||
|
- name: tempx
|
||||||
|
temp: {}
|
||||||
|
|
||||||
|
|
||||||
|
trigger:
|
||||||
|
# For now we only run on demand
|
||||||
|
event:
|
||||||
|
- custom
|
||||||
|
# Disable running pipeline a second time when we promote a successful build
|
||||||
|
exclude:
|
||||||
|
- promote
|
||||||
|
|
||||||
|
|
||||||
#---
|
#---
|
||||||
#kind: pipeline
|
#kind: pipeline
|
||||||
|
Loading…
Reference in New Issue
Block a user