Add macos-26 runner support and bump MacPorts to 2.12.5#3
Merged
Conversation
Cherry-picked from upstream melusina-org/setup-macports (97cd1a6) to add macos-26 runner support. Conflicts resolved to keep this fork's no-caching design; took upstream's macOS version matrix (drop 13, add 26). Original author: Michaël Le Barbier <michael.le-barbier@melusina.org> Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
MacPorts 2.11.5's pkg postinstall scripts fail on the current macOS 15 (Sequoia) and macOS 26 (Tahoe) runner images; 2.11.5 last passed CI on the Sep-2025 images. 2.12.5 (Apr 2026) post-dates the current images and ships Sonoma/Sequoia/Tahoe packages. Bump the action default, CI matrix, testsuite parameters, and docs to keep them aligned. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
tjcouch-sil
approved these changes
Jun 8, 2026
tjcouch-sil
left a comment
Member
There was a problem hiding this comment.
@tjcouch-sil partially reviewed 13 files and all commit messages, and made 1 comment.
Reviewable status:complete! all files reviewed, all discussions resolved (waiting on jolierabideau).
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
Adds support for the
macos-26(Tahoe) GitHub Actions runner (missing from this fork), and bumps MacPorts2.11.5→2.12.5so installation succeeds on the current runner images.Changes
macos-26 support
Cherry-picked from upstream melusina-org/setup-macports@97cd1a6 ("Goodbye MacOS 12, 13, welcome MacOS 15, 26"):
macos-14,macos-15,macos-26(dropsmacos-13, whose runner image is being phased out).26-Tahoeto the known-macOS database insubr/macos.sh.run-testsuite-on-macos-26-local.yaml; package build now runs on macos-15.MacPorts 2.11.5 → 2.12.5
The first CI run failed: MacPorts 2.11.5's
.pkgpostinstall scripts error out on the current macOS 15 (Sequoia) and macOS 26 (Tahoe) runner images. (Error: Port db48 not foundis a downstream symptom — MacPorts never finishes installing, so its port index is absent.) This is environmental, not introduced here: 2.11.5 last passed on the Sep-2025 images; the images have since been updated (current Sequoia image20260525). macOS 14 (Sonoma) still installs 2.11.5 fine.2.12.5 (Apr 2026) post-dates the current images and ships Sonoma/Sequoia/Tahoe packages. Bumped consistently across the action default (
action.yaml,subr/macports.sh), CI matrix, testsuite parameter files, and README docs.Conflict resolution notes
Upstream's other recent commits re-introduce/extend MacPorts caching, which this fork deliberately removed. Only the macOS-version commit was cherry-picked, so the fork's no-caching design is preserved.
Verification
🤖 Generated with Claude Code
This change is