perf(macos): 加速 Rust CI 与桌面打包 - #1107
Merged
Merged
Conversation
This was referenced Sep 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
摘要
macOS CI 曾串行重复编译 stable check、测试与 MSRV;打包在命中 Cargo 缓存后仍会完整重建 MLX。本次优化 macOS Rust 检查与原生缓存,并支持从功能分支单独构建 Apple Silicon / Intel 桌面包。
修复 / 新增 / 改进
兼容
默认平台矩阵及 Windows/Android/Linux 的编译参数、测试和发布行为保持原样。分支构建只上传 artifacts。详见调研与实现说明。
测试计划
独立 Linux egui workflow 受 beta 已有 UI 缺口阻塞:旧测试引用了已删除的三个函数,真实手机输入卡也没有 CA 指纹展示。失败日志。该部分需要额外的 Linux 产品界面修复;维护者已确认本次仅验收 macOS,Linux egui 暂不处理。
实测耗时
基线来自 beta CI及 Beta.2 桌面构建。最终提交为
06e7e634;macOS stable/MSRV 热复验分别见主 CI 的 attempts/2 与 attempts/3。数字是各 job/Cargo 阶段的实际观测,不含排队;runner/工具链及缓存条件不同,不视为同机性能保证。所有相关运行的完整日志及 Cargo timings 已留档。