ci: 发布矩阵加入 macOS(aarch64 原生 + x86_64 交叉编译)
客户端 platform_triple 本就支持 apple 三元组,补齐 CI 构建;Intel 侧 在 ARM runner 上交叉编译(Apple SDK 双架构通用)。README 补充 macOS Gatekeeper 未签名产物的说明。
This commit is contained in:
@@ -81,6 +81,14 @@ jobs:
|
||||
- os: windows-latest
|
||||
asset: mqttx.exe
|
||||
target: x86_64-pc-windows-msvc
|
||||
- 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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user