aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSelene ToyKeeper2023-11-05 13:08:15 -0700
committerSelene ToyKeeper2023-11-05 13:08:15 -0700
commit7bf25607f1f7519b02521b941bfa4690eece44df (patch)
tree8f0c8191d8b2d8329cf6f96b43f453eee57a5059
parentinitial test to fix branch names and see if actions work (diff)
downloadanduril-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-xbin/build-all.sh1
-rw-r--r--hw/fireflies/arch2
-rwxr-xr-xmake4
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
diff --git a/make b/make
index 8d3d801..89e196d 100755
--- a/make
+++ b/make
@@ -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
}