Skip to content

ci(release): build macOS binaries on macos-26; macos-14 is retired - #39

Merged
akosidencio merged 1 commit into
devfrom
ci/release-macos-runner
Nov 27, 2026
Merged

akosidencio merged 1 commit into
devfrom
ci/release-macos-runner

Conversation

@akosidencio

Copy link
Copy Markdown
Member

The v0.4.0-rc.1 release run (45956107330) never ran its macOS builds. GitHub rejects the macos-14 label with "The configuration 'macos-14-arm64-us-default' is not supported". Both darwin jobs stayed queued with no runner, so publish and the GitHub Release were skipped. Nothing was published: npm latest is still 0.3.3, there is no next, and no release exists.

Changes

  • Both darwin builds run on macos-26, which is what macos-latest resolved to on 2026-11-27 (CI run 45954941719, image macos-26-arm64).
  • MACOSX_DEPLOYMENT_TARGET is pinned to v0.3.3's minimums: 11.0 for arm64 and 10.12 for x64. I read those from the published 0.3.3 binaries with otool. The newer image cannot raise them.
  • A new step, "Binaries keep the minimum macOS version", fails the build if any of the four binaries reports a different minimum.
  • A new test fails if release.yml uses a retired macos-10…macos-14 label, or if the minimum-version pin or check is missing.

Checks

  • node --test scripts/release/release-plan.test.js: 27/27 pass. Putting macos-14 back makes the new test fail.
  • actionlint passes.
  • A local x86_64 build with MACOSX_DEPLOYMENT_TARGET=10.12 gives binaries that report minimum 10.12 and version 0.4.0-rc.1. The check reads both LC_BUILD_VERSION and LC_VERSION_MIN_MACOSX.
  • Not verified: a build on the macos-26 image itself. That happens only on the next tag push. If it fails, the run stops before publish.

After merge

The existing v0.4.0-rc.1 tag points at 6adbacf, whose release.yml still uses macos-14. Re-running that run will not help. Once this reaches main, delete the tag and re-tag the new main commit. That is safe because nothing was published.

The v0.4.0-rc.1 release run never started its macOS builds: GitHub
rejects macos-14 ("The configuration 'macos-14-arm64-us-default' is not
supported"), so both darwin jobs sat queued and publish never ran.

Use macos-26, what macos-latest resolves to today. Pin
MACOSX_DEPLOYMENT_TARGET to v0.3.3's minimums (11.0 arm64, 10.12 x64)
so the newer image cannot raise them, and fail the build if any binary
reports a different minimum. A test rejects retired macOS labels.
@akosidencio
akosidencio merged commit a7a2b6c into dev Nov 27, 2026
12 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