aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/compile-platform-examples.yml
diff options
context:
space:
mode:
authorper1234 <accounts@perglass.com>2021-05-26 04:38:37 -0700
committerper1234 <accounts@perglass.com>2021-05-26 05:37:58 -0700
commit20dc2e532e5cecd17a7f463cf86541d87e5090e8 (patch)
treef37ee9bb4116845b34f852c88dcaee0662916dff /.github/workflows/compile-platform-examples.yml
parent05b7d7a9e9e89599f9b4c4762d55a7f5f4161ed4 (diff)
Report changes in memory usage that would result from merging a PR
On creation or commit to a pull request, a report of the resulting change in memory usage of the examples will be commented to the PR thread.
Diffstat (limited to '.github/workflows/compile-platform-examples.yml')
-rw-r--r--.github/workflows/compile-platform-examples.yml13
1 files changed, 12 insertions, 1 deletions
diff --git a/.github/workflows/compile-platform-examples.yml b/.github/workflows/compile-platform-examples.yml
index 3701bd0..8e8f5b5 100644
--- a/.github/workflows/compile-platform-examples.yml
+++ b/.github/workflows/compile-platform-examples.yml
@@ -26,6 +26,9 @@ jobs:
name: ${{ matrix.board.fqbn }}
runs-on: ubuntu-latest
+ env:
+ SKETCHES_REPORTS_PATH: sketches-reports
+
strategy:
fail-fast: false
@@ -184,7 +187,6 @@ jobs:
- source-path: ./
name: arduino:avr
sketch-paths: |
- - libraries
# Compile these sketches for all boards
- libraries/EEPROM/examples/eeprom_clear
- libraries/EEPROM/examples/eeprom_iteration
@@ -193,3 +195,12 @@ jobs:
# Board-specific sketches
${{ matrix.serial-sketch-paths }}
${{ matrix.softwareserial-sketch-paths }}
+ enable-deltas-report: true
+ sketches-report-path: ${{ env.SKETCHES_REPORTS_PATH }}
+
+ - name: Save sketches report as workflow artifact
+ uses: actions/upload-artifact@v2
+ with:
+ if-no-files-found: error
+ path: ${{ env.SKETCHES_REPORTS_PATH }}
+ name: ${{ env.SKETCHES_REPORTS_PATH }}