Skip to content

Commit

Permalink
Further fixes and debug messages
Browse files Browse the repository at this point in the history
  • Loading branch information
virtual-maker committed Jan 1, 2025
1 parent 70c9702 commit 3656b32
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/.ci_scripts/compile-arduino-sketches.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ echo "<END>"

# Find all .ino files and compile each one, excluding those in the blacklist
exit_result=0
find "$SKETCHES" -name "*.ino" | while read sketch; do
while read sketch; do
if ! grep -Fxq "$sketch" "$BLACKLIST_FILE"; then
echo "Compiling $sketch"
arduino-cli compile --fqbn "$FQBN" "$sketch" --warnings more
Expand All @@ -34,11 +34,10 @@ find "$SKETCHES" -name "*.ino" | while read sketch; do
exit_result=1
fi
echo "result: $exit_result"

else
echo "Skipping $sketch (blacklisted)"
fi
done
done < <(find "$SKETCHES" -name "*.ino")

# Exit with error state
echo "result: $exit_result"
Expand Down

0 comments on commit 3656b32

Please sign in to comment.