Skip to content

feat: default Apple Silicon builds to macos-15 - #2555

Merged
mistydemeo merged 4 commits into
axodotdev:mainfrom
20jasper:feat/macos-15-default
Nov 2, 2026
Merged

mistydemeo merged 4 commits into
axodotdev:mainfrom
20jasper:feat/macos-15-default

Conversation

@20jasper

@20jasper 20jasper commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

macOS 14 runners are deprecated, so bump to 15, currently they are in the brownout phase

To raise awareness of the upcoming removal, we will temporarily fail jobs using macOS 14 and macOS 14 arm64. Builds that are scheduled to run during the brownout periods will fail.

Workflows using the macos-14, macos-14-large, macos-14-xlarge image labels will be terminated with an error.

Workflows using the macos-14 image label should be updated to macos-latest, macos-15, or macos-26.

https://github.blog/changelog/2026-10-01-github-actions-macos-14-runner-image-retirement/

m.insert(GithubRunnerRef::from_str("ubuntu-22.04-arm"), t::TARGET_ARM64_LINUX_GNU);
m.insert(GithubRunnerRef::from_str("ubuntu-24.04"), t::TARGET_X64_LINUX_GNU);
m.insert(GithubRunnerRef::from_str("ubuntu-24.04-arm"), t::TARGET_ARM64_LINUX_GNU);
m.insert(GithubRunnerRef::from_str("ubuntu-26.04"), t::TARGET_X64_LINUX_GNU);

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated known runner list

@20jasper
20jasper marked this pull request as ready for review October 30, 2026 21:43
Comment thread .github/workflows/ci.yml
# Test the cross-product of these platforms+toolchains
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
os: [ubuntu-latest, windows-latest, macos-15]

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This repo's ci will also fail on v14

// --except-cops overrides it.
.arg("--except-cops")
.arg("FormulaAudit/Homepage,FormulaAudit/Desc,FormulaAuditStrict")
.arg("FormulaAudit/Homepage,FormulaAudit/Desc,FormulaAudit/Test,FormulaAuditStrict")

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Homebrew bump from later macOS version makes this fail. This seems like the write answer to the lint failures, seeing as this already exists, let me know!

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yep, that seems right.

@mistydemeo mistydemeo left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks!

@mistydemeo
mistydemeo merged commit fd3a459 into axodotdev:main Nov 2, 2026
17 checks passed
materkey added a commit to materkey/ccfullsearch that referenced this pull request Nov 7, 2026
dist 0.34.0 builds Apple Silicon on macos-15 by default (axodotdev/cargo-dist#2555),
which is what the pin forced on 0.31.0 after GitHub retired macos-14.
release.yml is regenerated by dist generate: the 0.34.0 installer and
upload-artifact v7 / download-artifact v8.

Verified: dist plan gives macos-15 and macos-15-intel for the two macOS
targets.
glennib added a commit to glennib/stakk that referenced this pull request Nov 7, 2026
GitHub stopped serving the `macos-14` label between 5 and 6 November: the
`ci-target (aarch64-apple-darwin)` job now never gets a runner (annotation:
"The configuration 'macos-14-arm64-us-default' is not supported") and is
cancelled, which marks every CI run on main as cancelled.

The release workflow had the same problem latent: dist 0.32.0 plans
`macos-14` for that target, so the next tag's build would have stalled the
same way. dist 0.34.0 defaults Apple Silicon to `macos-15`
(axodotdev/cargo-dist#2555), and `mise.toml` already pins 0.34.0 locally,
so the bump also brings CI's dist in line with the developer one.
`dist plan` now picks `macos-15`, and the `ci-target` matrix follows it so
the two keep building on the same runners.

Not yet verified on a real `macos-15` runner; the first CI run on this
change is the check.

Assisted-by: Claude:claude-opus-5-5
gerchowl added a commit to vig-os/tessera that referenced this pull request Nov 11, 2026
Closes #790

## Root cause

The aarch64 leg's runner label comes from `dist plan`. Both
release.yml's build job and the `macOS build` gate run
on `matrix.runner` from that plan. The repo pinned no runner, so
cargo-dist 0.32.0's built-in default applied:
`aarch64-apple-darwin` runs on `macos-14`. In the failing run, the `dist
plan (darwin legs)` log shows
`"runner": "macos-14"`, and the job's `labels` field is `["macos-14"]`.

GitHub retired the macOS 14 image for GitHub Actions arm64 on
**2026-11-02**. See the
[GitHub changelog, 2026-10-01: "macOS 14 runner image
retirement"](https://github.blog/changelog/2026-10-01-github-actions-macos-14-runner-image-retirement/),
which covers `macos-14`, `macos-14-large` and `macos-14-xlarge`, and

[actions/runner-images#13518](actions/runner-images#13518),
which gives "GitHub Actions
and ADO arm64 on November 2". `macos-14-arm64-us-default` is the
internal image configuration behind the plain
`macos-14` label. It is not a larger-runner or region setting of ours,
and the label itself is what was retired.
The changelog recommends `macos-15`, `macos-latest` (macos-26) or the
matching `-xlarge` labels as replacements.

Upstream fixed the default in cargo-dist **0.34.0**

([axodotdev/cargo-dist#2555](axodotdev/cargo-dist#2555),
"default Apple Silicon builds to
macos-15").

## Change

`dist-workspace.toml` gets a `[dist.github-custom-runners]` table with
`aarch64-apple-darwin = "macos-15"`. It is a
named version rather than `macos-latest`, so a future image move stays a
reviewed edit. It is also the same value
dist 0.34 now defaults to, so the pin stays correct after a dist bump.
`x86_64-apple-darwin` keeps dist's
`macos-15-intel` default. `[dist.github-action-commits]` is untouched.

`release.yml` does **not** change, because it reads runners from the
plan's matrix at run time. With the pinned
dist 0.32.0, inside `nix develop`:

- `dist generate --mode ci` exits 0 with an empty `git diff`.
- `dist plan --output-format=json` exits 0 and emits:
  - `aarch64-apple-darwin` on `macos-15` (was `macos-14`)
  - `aarch64-unknown-linux-gnu` on `ubuntu-22.04-arm`
  - `x86_64-apple-darwin` on `macos-15-intel`
  - `x86_64-unknown-linux-gnu` on `ubuntu-22.04`

Other workflows: none hard-codes `macos-14`. `git grep` finds only
"macOS 14.0" as an example OS in the two
issue templates. ci.yml, codeql.yml and nix-check.yml have no macOS
jobs.

**Consumer impact (minimum macOS), a pre-existing defect tracked in
#838:** no darwin leg sets
`MACOSX_DEPLOYMENT_TARGET`. cc 1.2.65 then falls back to the build
host's SDK version (`xcrun --show-sdk-version`),
not rustc's 11.0, and cmake 0.1.58 forwards that into the vendored
HDF5's `CMAKE_C_FLAGS`. So the HDF5 objects
follow the runner image's default Xcode, and the host change likely
moves them from about 14.x to about 15.x. This
is unverified: no `minos` inspection yet, and no linker warning in the
logs. `x86_64-apple-darwin` has been in
the same position on `macos-15-intel` since dist 0.30.1. The runner pin
is still the right fix for #790, because
`macos-14` arm64 no longer exists. Holding a declared floor is #838's
job: set the env var and assert `minos` in
`macos-build.yml`.

## Before / after

- Before: PR #786, [run
42569492387](https://github.com/vig-os/tessera/actions/runs/42569492387).
`dist build (aarch64-apple-darwin)` failed to start (jobs 129018481628,
129053741187), with the annotation
"The configuration 'macos-14-arm64-us-default' is not supported". `macOS
build` then failed.
The last green `macOS build` on dev was run 41776410178 (2026-11-04),
still on `macos-14`.
- After: this PR's `macOS build` run, linked in a comment below once
green.

#787 (pipefail in macos-build.yml) is a separate defect in other lines
that needs its own lint test, so it is
left for its own PR.

Refs: #790
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.

2 participants