forked from ibphoenix/tomsfastmath
Pass volumes to each step
This commit is contained in:
parent
b0f06c1082
commit
7999210d0d
17
.drone.yml
17
.drone.yml
@ -16,7 +16,7 @@ steps:
|
||||
- name: build
|
||||
<<: *anchor_compiler_image
|
||||
volumes:
|
||||
- name: tempx
|
||||
- name: temp
|
||||
path: /tmp
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
@ -28,6 +28,11 @@ steps:
|
||||
|
||||
- name: build-fail
|
||||
<<: *anchor_compiler_image
|
||||
volumes:
|
||||
- name: temp
|
||||
path: /tmp
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
commands:
|
||||
- echo "Go do some debugging - you've got $${SLEEP} seconds"
|
||||
- sleep $${SLEEP}
|
||||
@ -40,6 +45,11 @@ steps:
|
||||
|
||||
- name: build-success
|
||||
<<: *anchor_compiler_image
|
||||
volumes:
|
||||
- name: temp
|
||||
path: /tmp
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
commands:
|
||||
# - echo "Go check where the binaries are - you've got $${SLEEP} seconds"
|
||||
# - sleep $${SLEEP}
|
||||
@ -50,6 +60,11 @@ steps:
|
||||
|
||||
- name: build-install
|
||||
<<: *anchor_compiler_image
|
||||
volumes:
|
||||
- name: temp
|
||||
path: /tmp
|
||||
- name: cache
|
||||
path: /tmp/cache
|
||||
commands:
|
||||
- make install
|
||||
depends_on:
|
||||
|
Loading…
Reference in New Issue
Block a user