Add dependency to build

This commit is contained in:
Paul Reeves 2023-05-15 11:37:29 +02:00
parent 7999210d0d
commit 4c24b37006

View File

@ -51,9 +51,11 @@ steps:
- name: cache
path: /tmp/cache
commands:
# - echo "Go check where the binaries are - you've got $${SLEEP} seconds"
# - sleep $${SLEEP}
# - echo "Go check where the binaries are - you've got $${SLEEP} seconds"
# - sleep $${SLEEP}
- cat test_gcc_2.txt
depends_on:
- build
when:
status:
- success
@ -72,13 +74,13 @@ steps:
# ### TODO package up the contents of .libs and maybe the public header?
##-rw-r--r-- 1 root root 325206 May 13 09:06 libtfm.a
##lrwxrwxrwx 1 root root 12 May 13 09:06 libtfm.la -> ../libtfm.la
##-rw-r--r-- 1 root root 909 May 13 09:06 libtfm.lai
##lrwxrwxrwx 1 root root 15 May 13 09:06 libtfm.so -> libtfm.so.1.0.0
##lrwxrwxrwx 1 root root 15 May 13 09:06 libtfm.so.1 -> libtfm.so.1.0.0
##-rwxr-xr-x 1 root root 233136 May 13 09:06 libtfm.so.1.0.0
##-rw-r--r-- 1 root root 671 May 13 09:06 libtfm.ver
# #-rw-r--r-- 1 root root 325206 May 13 09:06 libtfm.a
# #lrwxrwxrwx 1 root root 12 May 13 09:06 libtfm.la -> ../libtfm.la
# #-rw-r--r-- 1 root root 909 May 13 09:06 libtfm.lai
# #lrwxrwxrwx 1 root root 15 May 13 09:06 libtfm.so -> libtfm.so.1.0.0
# #lrwxrwxrwx 1 root root 15 May 13 09:06 libtfm.so.1 -> libtfm.so.1.0.0
# #-rwxr-xr-x 1 root root 233136 May 13 09:06 libtfm.so.1.0.0
# #-rw-r--r-- 1 root root 671 May 13 09:06 libtfm.ver
volumes:
- name: cache
@ -92,28 +94,28 @@ volumes:
trigger:
# For now we only run on demand
# For now we only run on demand
event:
- custom
# Disable running pipeline a second time when we promote a successful build
# Disable running pipeline a second time when we promote a successful build
exclude:
- promote
#---
#kind: pipeline
#name: build-windows
# ---
# kind: pipeline
# name: build-windows
#platform:
#arch: amd64
# platform:
# arch: amd64
#environment:
#MYCC: gcc" SHARED="-f makefile.shared"
# environment:
# MYCC: gcc" SHARED="-f makefile.shared"
#steps:
#- name: test
#image: gcc
#commands:
#- ${MYCC}" make ${SHARED} test_standalone >test_gcc_1.txt 2>test_gcc_2.txt && ./test >test_std.txt 2>test_err.txt"
# steps:
# - name: test
# image: gcc
# commands:
# - ${MYCC}" make ${SHARED} test_standalone >test_gcc_1.txt 2>test_gcc_2.txt && ./test >test_std.txt 2>test_err.txt"
...