Skip to content

feat(macutil): build the app on Intel and Apple Silicon CI - #8

Merged
Cryptokid92 merged 4 commits into
mainfrom
mac-12-ci
Aug 29, 2026
Merged

Cryptokid92 merged 4 commits into
mainfrom
mac-12-ci

Conversation

@Cryptokid92

@Cryptokid92 Cryptokid92 commented Aug 29, 2026 •

Copy link
Copy Markdown
Owner

Why

Release.yml published osx-x64 and osx-arm64 from ubuntu-latest. Those Mach-O files were the only artifacts, and they were not built on Intel or Apple Silicon. build_universal.sh still said 0.2.0 while the fsproj and Info.plist said 0.2.1.

crate-ci/typos@v1.34.0 failed on the F# identifier typ in parsePrefValue and tweakJson. Those names are PrefValue type tags, not misspellings.

Scope

  • .github/workflows/macos-app.yml adds jobs named macos-13 and macos-14. macos-13 publishes osx-x64. macos-14 publishes osx-arm64, lipos both into MacUtil-Universal.app, and uploads zip artifacts.
  • .github/workflows/Release.yml calls that workflow and attaches the macOS zips. It no longer runs dotnet publish for Mach-O on Ubuntu.
  • MacUtilGUI/build_universal.sh VERSION is 0.2.1.
  • scripts/check-version.sh exits 1 when fsproj, Info.plist, build_universal.sh, and deploy_macos.sh disagree.
  • _typos.toml sets [default.extend-identifiers] typ = "typ".
  • Merged origin/main at 4b3201b. README from that commit remains.

Does not edit MainWindow.axaml. Does not delete ScriptService.fs. fsharp.yml still runs tests on ubuntu-latest.

Tradeoffs

Native jobs on macos-13 and macos-14, with lipo on macos-14, instead of one runner publishing both RIDs. That matches GitHub's Intel and Apple Silicon labels. macos-14 waits on the x64 artifact.

The Release.yml publish job still runs on Ubuntu. It only uploads the macOS zips.

Blast Radius

CI and release packaging. GUI and engine code are unchanged. Unsigned .app bundles still need xattr -cr before Gatekeeper will launch them. No notarization in this PR.

Verification

  • bash scripts/check-version.sh failed while build_universal.sh was 0.2.0, then exited 0 at 0.2.1.
  • python3 confirmed .github/workflows/macos-app.yml job names are macos-13 and macos-14.
  • dotnet test MacUtilGUI.Tests --configuration Release Passed 14, Failed 0, Duration 60 ms.
  • typos-cli 1.34.0 exited 2 on typ without _typos.toml, then exited 0 with the ident file.
  • GitHub check-typos on 29caa7d concluded success.

Build osx-x64 on macos-13 and osx-arm64 on macos-14, then lipo on macos-14.
scripts/check-version.sh fails when fsproj, Info.plist, and build scripts drift.
Release.yml publishes those macOS artifacts instead of Linux-built Mach-O.
Drop unused YELLOW. Check publish and lipo exit codes with if !.
parsePrefValue and tweakJson use typ as the PrefValue type tag.
crate-ci/typos@v1.34.0 treated that identifier as a misspelling.
@Cryptokid92
Cryptokid92 merged commit 64e5089 into main Aug 29, 2026
5 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant