ci(release): add macOS Intel build to release matrix#41
Open
Cmochance wants to merge 1 commit into
Open
Conversation
Adds a third build matrix entry running on `macos-13` (Intel runner) with target `x86_64-apple-darwin`, producing `_x64.dmg` / `_x64.pkg` alongside the existing Apple Silicon and Windows assets. The release job attaches the new artifacts to the draft GitHub release. The macOS release script already builds host-arch by default (no `--target` flag), so existing `scripts/macos-artifacts.mjs` and `scripts/create-macos-pkg.mjs` paths still resolve correctly on the Intel runner — `process.arch === 'x64'` produces `_x64` suffixes that match Tauri's own dmg naming. README and README.zh-CN updated to list the new Intel assets and note the expanded matrix.
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
Owner
Author
需要你确认 / 完成的事项Merge 前
Merge 后第一次 push tag(下一次 release)
风险提醒
|
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.
Summary
macos-x64onmacos-13, targetx86_64-apple-darwin) so each tag push produces_x64.dmg/_x64.pkgalongside the existing Apple Silicon and Windows assets.Why
Intel Mac users currently can't run the Apple Silicon
_aarch64builds without Rosetta + Tauri quirks; nativex86_64DMG/PKG closes that gap.Notes
scripts/macos-artifacts.mjs+scripts/create-macos-pkg.mjsworking as-is — no--targetis passed;process.arch === 'x64'on the Intel runner yields_x64suffixes that match Tauri's own dmg naming.macos-13is the only Intel-runner option GitHub provides; it is still supported but has been flagged for eventual deprecation. Monitoractions/runner-imagesfor a successor.Test plan
cijob) — pure YAML/markdown change should pass type-check / cargo lib check.vX.Y.Z-testtag (or a realv1.5.11) and confirm:macos-arm64,macos-x64,windows-x86_64) and all upload artifacts._aarch64.dmg,_aarch64.pkg,_x64.dmg,_x64.pkg,_x64-setup.exe._x64.dmgopens on an Intel Mac (or via Rosetta-off VM) and the bundled.applaunches.