Skip to content

Commit 9f25b03

Browse files
authored
Merge pull request #269 from 107-systems/revert-266-fix-drop-report-size-deltas
Revert "Fix CI: disable report-size-deltas action."
2 parents f01ec47 + b533012 commit 9f25b03

File tree

2 files changed

+27
-0
lines changed

2 files changed

+27
-0
lines changed

.github/workflows/compile-examples.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,20 @@ jobs:
3535
platforms: |
3636
- name: rp2040:rp2040
3737
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
38+
artifact-name-suffix: rp2040-arduino-nano-connect
3839
- fqbn: rp2040:rp2040:rpipico
3940
platforms: |
4041
- name: rp2040:rp2040
4142
source-url: https://github.com/earlephilhower/arduino-pico/releases/download/global/package_rp2040_index.json
43+
artifact-name-suffix: rp2040-rpipico
4244
- fqbn: arduino:renesas_portenta:portenta_c33
4345
platforms: |
4446
- name: arduino:renesas_portenta
47+
artifact-name-suffix: renesas-portenta-portenta-c33
4548
- fqbn: arduino:renesas_uno:minima
4649
platforms: |
4750
- name: arduino:renesas_uno
51+
artifact-name-suffix: renesas-uno-minima
4852

4953
steps:
5054
- name: Checkout
@@ -56,10 +60,19 @@ jobs:
5660
fqbn: ${{ matrix.board.fqbn }}
5761
platforms: ${{ matrix.board.platforms }}
5862
libraries: ${{ env.LIBRARIES }}
63+
enable-deltas-report: true
5964
github-token: ${{ secrets.GITHUB_TOKEN }}
65+
sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
6066
sketch-paths: |
6167
- examples/CAN/OpenCyphal-Blink
6268
- examples/CAN/OpenCyphal-Heartbeat-Publisher
6369
- examples/CAN/OpenCyphal-Heartbeat-Subscriber
6470
- examples/CAN/OpenCyphal-Service-Client
6571
- examples/CAN/OpenCyphal-Service-Server
72+
73+
- name: Save memory usage change report as artifact
74+
if: github.event_name == 'pull_request'
75+
uses: actions/upload-artifact@v4
76+
with:
77+
name: sketches-report-${{ matrix.board.artifact-name-suffix }}
78+
path: ${{ env.SKETCHES_REPORTS_PATH }}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Report Size Deltas
2+
3+
on:
4+
schedule:
5+
- cron: '*/5 * * * *'
6+
7+
jobs:
8+
report:
9+
runs-on: ubuntu-latest
10+
11+
steps:
12+
# See: https://github.com/arduino/report-size-deltas/README.md
13+
- name: Comment size deltas reports to PRs
14+
uses: arduino/report-size-deltas@main

0 commit comments

Comments
 (0)