File tree Expand file tree Collapse file tree 1 file changed +4
-18
lines changed
Expand file tree Collapse file tree 1 file changed +4
-18
lines changed Original file line number Diff line number Diff line change 1313 - name : Checkout repository
1414 uses : actions/checkout@v4
1515
16- - name : Install the latest version of Arduino CLI
17- run : |
18- mkdir -p ${{ env.ARDUINO_CLI_PATH }}
19- curl -fsSL https://raw.githubusercontent.com/arduino/arduino-cli/master/install.sh | BINDIR=${{ env.ARDUINO_CLI_PATH }} sh
20-
21- - name : Update Arduino cores and libraries and install Zephyr core
22- run : |
23- export PATH="${{ env.ARDUINO_CLI_PATH }}:$PATH"
24- arduino-cli update
25- arduino-cli core install arduino:zephyr
26-
2716 - name : Verify sketches
28- run : |
29- export PATH="${{ env.ARDUINO_CLI_PATH }}:$PATH"
30- SKETCHES=$(find . -name "*.ino")
31- for SKETCH in $SKETCHES; do
32- echo "Verifying $SKETCH"
33- arduino-cli compile --fqbn arduino:zephyr:unoq "$SKETCH"
34- done
17+ uses : arduino/compile-sketches@v1
18+ with :
19+ fqbn : " arduino:zephyr:unoq"
20+ sketch-paths : " ./examples"
You can’t perform that action at this time.
0 commit comments