File tree 2 files changed +38
-0
lines changed
2 files changed +38
-0
lines changed Original file line number Diff line number Diff line change 5
5
push :
6
6
paths :
7
7
- " .github/workflows/compile-examples.yml"
8
+ - " library.properties"
8
9
- " examples/**"
9
10
- " src/**"
10
11
pull_request :
11
12
paths :
12
13
- " .github/workflows/compile-examples.yml"
14
+ - " library.properties"
13
15
- " examples/**"
14
16
- " src/**"
15
17
schedule :
23
25
name : ${{ matrix.board.fqbn }}
24
26
runs-on : ubuntu-latest
25
27
28
+ env :
29
+ SKETCHES_REPORTS_PATH : sketches-reports
30
+
26
31
strategy :
27
32
fail-fast : false
28
33
49
54
# See: https://github.com/arduino/compile-sketches#libraries
50
55
sketch-paths : |
51
56
- examples
57
+ enable-deltas-report : true
58
+ sketches-report-path : ${{ env.SKETCHES_REPORTS_PATH }}
59
+
60
+ - name : Save sketches report as workflow artifact
61
+ uses : actions/upload-artifact@v2
62
+ with :
63
+ if-no-files-found : error
64
+ path : ${{ env.SKETCHES_REPORTS_PATH }}
65
+ 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