diff options
| author | Selene ToyKeeper | 2023-11-05 13:08:15 -0700 |
|---|---|---|
| committer | Selene ToyKeeper | 2023-11-05 13:08:15 -0700 |
| commit | 7bf25607f1f7519b02521b941bfa4690eece44df (patch) | |
| tree | 8f0c8191d8b2d8329cf6f96b43f453eee57a5059 | |
| parent | initial test to fix branch names and see if actions work (diff) | |
| download | anduril-7bf25607f1f7519b02521b941bfa4690eece44df.tar.gz anduril-7bf25607f1f7519b02521b941bfa4690eece44df.tar.bz2 anduril-7bf25607f1f7519b02521b941bfa4690eece44df.zip | |
help CI detect build failures
made 'make' and 'build-all.sh' exit with an error on fail,
so CI can hopefully detect it...
and added an intentional source bug to make it fail for testing purposes
Diffstat (limited to '')
| -rwxr-xr-x | bin/build-all.sh | 1 | ||||
| -rw-r--r-- | hw/fireflies/arch | 2 | ||||
| -rwxr-xr-x | make | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/bin/build-all.sh b/bin/build-all.sh index 2d443a5..ac8ea98 100755 --- a/bin/build-all.sh +++ b/bin/build-all.sh @@ -66,4 +66,5 @@ echo "===== $PASS builds succeeded, $FAIL failed =====" #echo "PASS: $PASSED" if [ 0 != $FAIL ]; then echo "FAIL:$FAILED" + exit 1 fi diff --git a/hw/fireflies/arch b/hw/fireflies/arch index d16b0f8..dcd026a 100644 --- a/hw/fireflies/arch +++ b/hw/fireflies/arch @@ -1 +1 @@ -attiny85 +attiny69 @@ -59,7 +59,7 @@ function main() { ;; dfp) shift - ./bin/dfp-install.sh "$@" + exec ./bin/dfp-install.sh "$@" ;; docs) make-docs @@ -79,7 +79,7 @@ function main() { grep -E 'TODO:|FIXME:' **/*.[ch] ;; *) - ./bin/build-all.sh "$@" + exec ./bin/build-all.sh "$@" ;; esac } |
