From 4c24b370060a86f77649101a5fb9a5df92994820 Mon Sep 17 00:00:00 2001 From: Paul Reeves Date: Mon, 15 May 2023 11:37:29 +0200 Subject: [PATCH] Add dependency to build --- .drone.yml | 48 +++++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 23 deletions(-) diff --git a/.drone.yml b/.drone.yml index 3ccf1d4..a63c438 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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" ...