File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed
Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change @@ -208,6 +208,14 @@ jobs:
208208 run : |
209209 mkdir Blink/
210210 wget -nv https://raw.githubusercontent.com/arduino/arduino-examples/refs/heads/main/examples/01.Basics/Blink/Blink.ino -P Blink/
211+ echo "ALL_LIBRARIES<<EOF" >> $GITHUB_ENV
212+ (cd libraries && ls | xargs printf "- %s\n") | tee -a $GITHUB_ENV
213+ find libraries/ -name library.properties | while read -r propfile; do
214+ grep '^depends=' "$propfile" | cut -d= -f2 | tr ',' '\n' | while read -r dep; do
215+ printf "- %s\n" "$dep" | tee -a $GITHUB_ENV
216+ done
217+ done
218+ echo "EOF" >> $GITHUB_ENV
211219
212220 - name : Compile tests for ${{ matrix.board }}
213221 uses : pillo79/compile-sketches@next
@@ -221,6 +229,8 @@ jobs:
221229 sketch-paths : |
222230 - Blink
223231 - ArduinoCore-zephyr/libraries
232+ libraries : |
233+ ${{ env.ALL_LIBRARIES }}
224234 cli-compile-flags : |
225235 - '--build-property'
226236 - 'compiler.c.extra_flags=-Wno-type-limits -Wno-missing-field-initializers'
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ artifact_count() {
1919 COUNT=" "
2020 ICON=" :new_moon:"
2121 fi
22- printf " <code>%3s</code>%s" $COUNT $ICON
22+ printf " <code>%3s</code>%s" " $COUNT " " $ICON "
2323}
2424
2525artifact_entry () {
You can’t perform that action at this time.
0 commit comments