michael-membrowse opened a new pull request, #18862:
URL: https://github.com/apache/nuttx/pull/18862
Re-opening of #18774, which was closed and could not be reopened because the
branch was rebased onto a newer `apache/nuttx:master`. Same content as before,
rebased on current master.
## Summary
Integrates MemBrowse memory footprint tracking into NuttX CI to
automatically report firmware memory footprint across a representative set of
boards on every PR and push to master.
- Adds `.github/membrowse-targets.json`: tracks 9 boards spanning all
supported architectures
- ARM Cortex-M/A
- AVR
- MIPS
- RISC-V
- RX
- SPARC
- x86_64
- Xtensa
- Adds `membrowse-report.yml`: builds NuttX on the above targets and runs
membrowse-action to generate and upload the reports
- Adds `membrowse-comment.yml`: posts a memory-diff comment on PRs after the
report workflow finishes
- Adds `membrowse-onboard.yml`: manual workflow to backfill the last N
commits per target
- Adds a MemBrowse badge to `README.md` for easy access to the MemBrowse
NuttX dashboard
## Setup
To view the memory dashboard and receive PR comments:
1. Create an account and a project at https://membrowse.com.
2. Copy the project's API key.
3. In the MemBrowse project settings set the dashboard as publicly available.
4. In the GitHub repo, add it as a secret named `MEMBROWSE_API_KEY`.
## Testing
The integration has been running on a fork. See the live dashboard here:
https://membrowse.com/public/michael-membrowse/nuttx
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]