Skip to content

Commit

Permalink
help CI detect build failures
Browse files Browse the repository at this point in the history
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
  • Loading branch information
ToyKeeper committed Nov 5, 2023
1 parent 0aeb1b2 commit 7bf2560
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions bin/build-all.sh
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,5 @@ echo "===== $PASS builds succeeded, $FAIL failed ====="
#echo "PASS: $PASSED"
if [ 0 != $FAIL ]; then
echo "FAIL:$FAILED"
exit 1
fi
2 changes: 1 addition & 1 deletion hw/fireflies/arch
Original file line number Diff line number Diff line change
@@ -1 +1 @@
attiny85
attiny69
4 changes: 2 additions & 2 deletions make
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function main() {
;;
dfp)
shift
./bin/dfp-install.sh "$@"
exec ./bin/dfp-install.sh "$@"
;;
docs)
make-docs
Expand All @@ -79,7 +79,7 @@ function main() {
grep -E 'TODO:|FIXME:' **/*.[ch]
;;
*)
./bin/build-all.sh "$@"
exec ./bin/build-all.sh "$@"
;;
esac
}
Expand Down

0 comments on commit 7bf2560

Please sign in to comment.