ci: macOS 只出 Apple Silicon(aarch64-apple-darwin),不做 Intel

This commit is contained in:
2026-09-30 13:39:02 +08:00
parent 4e7ddfd4e9
commit f4315dce1e
2 changed files with 2 additions and 7 deletions
-5
View File
@@ -84,11 +84,6 @@ jobs:
- os: macos-latest
asset: mqttx
target: aarch64-apple-darwin
# macos-latest 是 ARM 机:x86_64 走交叉编译(Apple SDK 双架构通用,
# rustup 加上 target 即可,无需独立 Intel runner)
- os: macos-latest
asset: mqttx
target: x86_64-apple-darwin
steps:
- uses: actions/checkout@v4
+2 -2
View File
@@ -130,8 +130,8 @@ MQTTX_LIVE=1 cargo test -p mqttx-desktop --test engine_live -- --ignored
1. 版本一致性校验:tag 必须等于 `v` + `gpui-app/Cargo.toml` 的版本,否则整条流水线失败
2. 单元测试(`--lib --tests`,集成测试只编译不执行)
3. Linux + Windows + macOS 三平台 release 构建(产物重命名为
`mqttx-v<ver>-<target>-mqttx[.exe]` 并生成 `.sha256` 侧车;macOS 含
Apple Silicon 与 Intel)
`mqttx-v<ver>-<target>-mqttx[.exe]` 并生成 `.sha256` 侧车;macOS 仅
Apple Silicon)
4. 打包 7z(单条目,内部文件名 = 裸二进制名)并创建 GitHub Release,上传
7z / 裸二进制 / `.sha256` 附件