Add size report gathering for stm32 (#31566)
Co-authored-by: Andrei Litvin <andreilitvin@google.com>
diff --git a/.github/workflows/examples-stm32.yaml b/.github/workflows/examples-stm32.yaml
index 5541e0e..2e261c6 100644
--- a/.github/workflows/examples-stm32.yaml
+++ b/.github/workflows/examples-stm32.yaml
@@ -62,7 +62,14 @@
"./scripts/build/build_examples.py \
--target stm32-STM32WB5MM-DK-light build \
"
-
+
+ - name: Gather size reports
+ run: |
+ .environment/pigweed-venv/bin/python3 scripts/tools/memory/gh_sizes.py \
+ stm32 STM32WB5MM-DK light \
+ out/stm32-stm32wb5mm-dk-light/chip-stm32-lighting-example.elf \
+ /tmp/bloat_reports/
+
- name: Uploading Size Reports
uses: ./.github/actions/upload-size-reports
if: ${{ !env.ACT }}