File tree Expand file tree Collapse file tree 2 files changed +31
-0
lines changed
Expand file tree Collapse file tree 2 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ schedule :
3+ - cron : ' */5 * * * *'
4+ jobs :
5+ build :
6+ runs-on : ubuntu-latest
7+ steps :
8+ - uses : arduino/report-size-deltas@v1
Original file line number Diff line number Diff line change 1919 - uses : actions/checkout@v3
2020 - uses : arduino/compile-sketches@v1
2121 with :
22+ enable-deltas-report : true
2223 github-token : ${{ secrets.GITHUB_TOKEN }}
2324 fqbn : ${{ matrix.fqbn }}
2425 platforms : |
3132 - name: ArduinoJson
3233 cli-compile-flags : |
3334 - --warnings="none"
35+
36+ - uses : actions/upload-artifact@v2
37+ with :
38+ name : sketches-reports
39+ path : sketches-reports
40+
41+
42+ report :
43+ needs : build-for-esp32
44+ if : github.event_name == 'pull_request'
45+ runs-on : ubuntu-latest
46+ steps :
47+ # This step is needed to get the size data produced by the compile jobs
48+ - name : Download sketches reports artifact
49+ uses : actions/download-artifact@v2
50+ with :
51+ name : sketches-reports
52+ path : sketches-reports
53+
54+ - uses : arduino/report-size-deltas@v1
55+ with :
56+ sketches-reports-source : sketches-reports
You can’t perform that action at this time.
0 commit comments