File tree 4 files changed +60
-0
lines changed
4 files changed +60
-0
lines changed Original file line number Diff line number Diff line change 21
21
name : ${{ matrix.board.fqbn }}
22
22
runs-on : ubuntu-latest
23
23
24
+ env :
25
+ SKETCHES_REPORTS_PATH : sketches-reports
26
+
24
27
strategy :
25
28
fail-fast : false
26
29
52
55
- name: Sodaq_wdt
53
56
sketch-paths : |
54
57
- extras/D11-Bootloader
58
+ enable-deltas-report : true
59
+ sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
60
+
61
+ - name : Save sketches report as workflow artifact
62
+ uses : actions/upload-artifact@v2
63
+ with :
64
+ if-no-files-found : error
65
+ path : ${{ env.SKETCHES_REPORTS_PATH }}
66
+ name : ${{ env.SKETCHES_REPORTS_PATH }}
Original file line number Diff line number Diff line change 23
23
name : ${{ matrix.board.fqbn }}
24
24
runs-on : ubuntu-latest
25
25
26
+ env :
27
+ SKETCHES_REPORTS_PATH : sketches-reports
28
+
26
29
strategy :
27
30
fail-fast : false
28
31
@@ -113,3 +116,12 @@ jobs:
113
116
- examples/Flasher
114
117
- examples/Test
115
118
${{ matrix.sketch-paths }}
119
+ enable-deltas-report : true
120
+ sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
121
+
122
+ - name : Save sketches report as workflow artifact
123
+ uses : actions/upload-artifact@v2
124
+ with :
125
+ if-no-files-found : error
126
+ path : ${{ env.SKETCHES_REPORTS_PATH }}
127
+ name : ${{ env.SKETCHES_REPORTS_PATH }}
Original file line number Diff line number Diff line change 21
21
name : ${{ matrix.board.fqbn }}
22
22
runs-on : ubuntu-latest
23
23
24
+ env :
25
+ SKETCHES_REPORTS_PATH : sketches-reports
26
+
24
27
strategy :
25
28
fail-fast : false
26
29
52
55
-
53
56
sketch-paths : |
54
57
- extras/D11-Firmware/D11-Firmware.ino
58
+ enable-deltas-report : true
59
+ sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
60
+
61
+ - name : Save sketches report as workflow artifact
62
+ uses : actions/upload-artifact@v2
63
+ with :
64
+ if-no-files-found : error
65
+ path : ${{ env.SKETCHES_REPORTS_PATH }}
66
+ name : ${{ env.SKETCHES_REPORTS_PATH }}
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
+ # The name of the workflow artifact created by the sketch compilation workflow
24
+ sketches-reports-source : sketches-reports
You can’t perform that action at this time.
0 commit comments