ci: optimize membrowse target filtering#11518
Conversation
|
👋 感谢您对 RT-Thread 的贡献!Thank you for your contribution to RT-Thread! 为确保代码符合 RT-Thread 的编码规范,请在你的仓库中执行以下步骤运行代码格式化工作流(如果格式化CI运行失败)。 🛠 操作步骤 | Steps
完成后,提交将自动更新至 如有问题欢迎联系我们,再次感谢您的贡献!💐 |
📌 Code Review Assignment🏷️ Tag: workflowReviewers: Rbb666 kurisaW supperthomas Changed Files (Click to expand)
📊 Current Review Status (Last Updated: 2026-06-26 13:03 CST)
📝 Review Instructions
|
1adfd15 to
0fe6b2f
Compare
| ) | ||
|
|
||
| RELATED_BSP_PREFIXES = ( | ||
| ("bsp/at32/", ("bsp/at32/libraries/", "bsp/at32/tools/")), |
There was a problem hiding this comment.
这块感觉可以抽出来一个json/yml文件,或者在bsp看护基础上添加字段是否需要这个membrowse进行内存检查
There was a problem hiding this comment.
这块感觉可以抽出来一个json/yml文件,或者在bsp看护基础上添加字段是否需要这个membrowse进行内存检查
同意
0fe6b2f to
a8f9cde
Compare
拉取/合并请求描述:(PR description)
[
为什么提交这份PR (why to submit this PR)
MemBrowse Memory Report 当前在 PR/push 触发后会读取完整 .github/membrowse-targets.json,导致即使只修改某一个 BSP(例如 STM32 相关文件),也会对所有 MemBrowse 目标进行构建和内存分析,CI 成本较高且反馈不够聚焦。
你的解决方案是什么 (what is your solution)
请提供验证的bsp和config (provide the config and bsp)
BSP: bsp/stm32/stm32f407-rt-spark(脚本模拟 changed file 验证)
.config: 无
action:
]
当前拉取/合并请求的状态 Intent for your PR
必须选择一项 Choose one (Mandatory):
代码质量 Code Quality:
我在这个拉取/合并请求中已经考虑了 As part of this pull request, I have considered the following: