File tree Expand file tree Collapse file tree 2 files changed +31
-25
lines changed
Expand file tree Collapse file tree 2 files changed +31
-25
lines changed Original file line number Diff line number Diff line change 4040 board :
4141 - fqbn : arduino:mbed_portenta:envie_m7
4242 type : arduino:mbed_portenta
43+ platforms : |
44+ - name: arduino:mbed_portenta
45+ artifact-name-suffix : arduino-mbed_portenta-envie_m7
4346 - fqbn : arduino:renesas_portenta:portenta_c33
4447 type : renesas_portenta
48+ platforms : |
49+ - name: arduino:renesas_portenta
50+ artifact-name-suffix : arduino-renesas_portenta-portenta_c33
4551
4652 steps :
4753 - name : Checkout repository
6975 with :
7076 if-no-files-found : error
7177 path : ${{ env.SKETCHES_REPORTS_PATH }}
72- name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
73-
74- report-size-deltas :
75- needs : build
76- # Run even if some compilations failed.
77- if : always() && github.event_name == 'pull_request'
78- runs-on : ubuntu-latest
79- permissions :
80- pull-requests : write
81-
82- steps :
83- - name : Download sketches reports artifact
84- id : download-artifact
85- continue-on-error : true # If compilation failed for all boards then there are no artifacts
86- uses : actions/download-artifact@v4
87- with :
88- name : ${{ env.SKETCHES_REPORTS_ARTIFACT_NAME }}
89- path : ${{ env.SKETCHES_REPORTS_PATH }}
90-
91- - name : Comment size deltas report to PR
92- uses : arduino/report-size-deltas@v1
93- # If actions/download-artifact failed, there are no artifacts to report from.
94- if : steps.download-artifact.outcome == 'success'
95- with :
96- sketches-reports-source : ${{ env.SKETCHES_REPORTS_PATH }}
78+ name : sketches-report-${{ matrix.board.artifact-name-suffix }}
Original file line number Diff line number Diff line change 1+ name : Report Size Deltas
2+
3+ # See: https://docs.github.com/en/free-pro-team@latest/actions/reference/events-that-trigger-workflows
4+ on :
5+ push :
6+ paths :
7+ - " .github/workflows/report-size-deltas.yml"
8+ schedule :
9+ # Run at the minimum interval allowed by GitHub Actions.
10+ # Note: GitHub Actions periodically has outages which result in workflow failures.
11+ # In this event, the workflows will start passing again once the service recovers.
12+ - cron : " */5 * * * *"
13+ workflow_dispatch :
14+ repository_dispatch :
15+
16+ jobs :
17+ report :
18+ runs-on : ubuntu-latest
19+ steps :
20+ - name : Comment size deltas reports to PRs
21+ uses : arduino/report-size-deltas@v1
22+ with :
23+ # Regex matching the names of the workflow artifacts created by the "Compile Examples" workflow
24+ sketches-reports-source : ^sketches-report-.+
You can’t perform that action at this time.
0 commit comments