fix(ci): cross-compile macOS x64 desktop build on Apple Silicon runner#597
Merged
Conversation
GitHub retired the Intel macos-13 runner image, so the macos-x64 bundle job queues forever and never runs — v0.3.8 shipped with no Intel DMG (the asset 404s, which the new install-macos.sh script can't work around). Move the x64 job to macos-14 and cross-compile: rustup gets the x86_64-apple-darwin target via dtolnay/rust-toolchain's targets input (tauri build already passes --target), and the ty sidecar builds with GOARCH=amd64. Cross-arch Go auto-disables CGO, which is fine because the sqlite driver is pure Go (modernc.org/sqlite). Verified locally: GOARCH=amd64 go build ./cmd/task produces a Mach-O x86_64 binary. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Owner
Author
QA evidence — real
|
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.

Problem
GitHub retired the Intel
macos-13runner image. Themacos-x64bundle job indesktop.ymlnow queues forever — yesterday's run (27376820607) has had it stuck inqueuedfor ~19h whilemacos-arm64andlinux-x64completed. Net effect: v0.3.8 has no Intel DMG (TaskYou-macos-x64.dmg404s), which also blocks the Intel path of the newinstall-macos.sh(#595).Fix
Cross-compile the x64 bundle on an Apple Silicon runner:
macos-x64matrix entry movesmacos-13→macos-14dtolnay/rust-toolchaingetstargets: ${{ matrix.triple }}sox86_64-apple-darwinis installed (tauri buildalready passes--target)tysidecar builds with a new per-entrygoarchmatrix value (GOARCH=amd64for the cross entry; native values elsewhere, so arm64/linux builds are unchanged)Cross-arch Go auto-disables CGO, which is safe here: the sqlite driver is pure Go (
modernc.org/sqlite).Verification
GOARCH=amd64 go build ./cmd/taskon an arm64 Mac →Mach-O 64-bit executable x86_64✅workflow_dispatchrun of Desktop after merge — that will also backfill the missing x64 assets (re-tag or dispatch +gh release uploadfor v0.3.8).🤖 Generated with Claude Code