File tree 2 files changed +31
-25
lines changed
2 files changed +31
-25
lines changed Original file line number Diff line number Diff line change 40
40
board :
41
41
- fqbn : arduino:mbed_portenta:envie_m7
42
42
type : arduino:mbed_portenta
43
+ platforms : |
44
+ - name: arduino:mbed_portenta
45
+ artifact-name-suffix : arduino-mbed_portenta-envie_m7
43
46
- fqbn : arduino:renesas_portenta:portenta_c33
44
47
type : renesas_portenta
48
+ platforms : |
49
+ - name: arduino:renesas_portenta
50
+ artifact-name-suffix : arduino-renesas_portenta-portenta_c33
45
51
46
52
steps :
47
53
- name : Checkout repository
69
75
with :
70
76
if-no-files-found : error
71
77
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