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

@ -54,6 +54,8 @@ steps:
# - echo "Go check where the binaries are - you've got $${SLEEP} seconds" # - echo "Go check where the binaries are - you've got $${SLEEP} seconds"
# - sleep $${SLEEP} # - sleep $${SLEEP}
- cat test_gcc_2.txt - cat test_gcc_2.txt
depends_on:
- build
when: when:
status: status:
- success - success
@ -72,13 +74,13 @@ steps:
# ### TODO package up the contents of .libs and maybe the public header? # ### 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 # #-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 # #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 # #-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 -> libtfm.so.1.0.0
##lrwxrwxrwx 1 root root 15 May 13 09:06 libtfm.so.1 -> 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 # #-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 671 May 13 09:06 libtfm.ver
volumes: volumes:
- name: cache - name: cache
@ -92,28 +94,28 @@ volumes:
trigger: trigger:
# For now we only run on demand # For now we only run on demand
event: event:
- custom - 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: exclude:
- promote - promote
#--- # ---
#kind: pipeline # kind: pipeline
#name: build-windows # name: build-windows
#platform: # platform:
#arch: amd64 # arch: amd64
#environment: # environment:
#MYCC: gcc" SHARED="-f makefile.shared" # MYCC: gcc" SHARED="-f makefile.shared"
#steps: # steps:
#- name: test # - name: test
#image: gcc # image: gcc
#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"
... ...