From 20dc2e532e5cecd17a7f463cf86541d87e5090e8 Mon Sep 17 00:00:00 2001 From: per1234 Date: Wed, 26 May 2021 04:38:37 -0700 Subject: 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. --- .github/workflows/compile-platform-examples.yml | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to '.github/workflows/compile-platform-examples.yml') 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 }} -- cgit v1.2.3-18-g5258