File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2929 - name : Run Arduino Lint
3030 uses : arduino/arduino-lint-action@v2
3131 with :
32- library-manager : skip
32+ library-manager : false
3333 compliance : strict
3434
3535 - name : Check lint results
Original file line number Diff line number Diff line change 7171 run : |
7272 arduino-cli compile -b "${{ matrix.fqbn }}" --board-options "PartitionScheme=huge_app" --library "$PWD" examples/03.Applications/Cap_WiFi_App/ -v
7373 arduino-cli compile -b "${{ matrix.fqbn }}" --board-options "PartitionScheme=huge_app" --library "$PWD" examples/03.Applications/OX_WiFi_App/ -v
74-
75- - name : Save sketches report
76- if : always()
77- uses : actions/upload-artifact@v4
78- with :
79- name : sketches-report-${{ matrix.fqbn }}
80- path : ${{ env.SKETCHES_REPORTS_PATH }}
81- retention-days : 30
82-
83- compile-summary :
84- name : Compile summary
85- runs-on : ubuntu-latest
86- needs : compile
87- if : always()
88-
89- steps :
90- - name : Download all reports
91- uses : actions/download-artifact@v4
92- with :
93- path : all-reports
94-
95- - name : Summary
96- run : |
97- echo "## Compilation Summary" >> $GITHUB_STEP_SUMMARY
98- echo "" >> $GITHUB_STEP_SUMMARY
99-
100- # Count successful compilations
101- SUCCESS_COUNT=$(find all-reports -name "*.md" -exec grep -l "✓" {} \; | wc -l)
102- echo "✓ Successfully compiled sketches: $SUCCESS_COUNT" >> $GITHUB_STEP_SUMMARY
103- echo "" >> $GITHUB_STEP_SUMMARY
104-
105- # Display compilation details
106- if [ -d "all-reports" ]; then
107- echo "### Board FQBNs Tested:" >> $GITHUB_STEP_SUMMARY
108- ls -1 all-reports/ | grep sketches-report | sed 's/sketches-report-/- /' | sed 's/:/%3A/g' | sed 's/%3A/:/g' >> $GITHUB_STEP_SUMMARY
109- echo "" >> $GITHUB_STEP_SUMMARY
110- fi
111-
112- echo "Detailed reports are available in the Artifacts section." >> $GITHUB_STEP_SUMMARY
You can’t perform that action at this time.
0 commit comments