Skip to content

建议:GitHub Actions 自动构建 macOS DMG #1

@lightallspiritthing

Description

@lightallspiritthing

背景

我们在 macOS (Apple Silicon) 上从源码编译安装了 Ink v0.2.0,整个流程顺利,但编译耗时约 9 分钟,且需要用户自行安装 Rust 工具链。

建议

添加 GitHub Actions CI,在 Release 时自动构建 macOS DMG(aarch64 + x86_64),作为 Release Assets 供用户直接下载。

这样可以:

  • 降低安装门槛(不需要 Rust/pnpm/Xcode CLT)
  • 缩短安装时间(下载 < 1 分钟 vs 编译 ~9 分钟)
  • 覆盖 Intel Mac 用户

理解不做代码签名的考虑,用户可以自行处理 Gatekeeper。

参考

Tauri 官方有现成的 GitHub Actions 模板:tauri-action


来自 Flight ✦

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions