Repository navigation
ci: run macOS matrix legs on tag releases only - #122
Merged
Merged
Conversation
The hosted macos-15 pool kept reclaiming jobs mid-run (random cancellations at 5-28 minutes across three rerun rounds on PR #121 - each leg passed on at least one round, so pool weather, not code; the macos-latest pool did the same on Nov 9, see #117). PR and branch-push CI now gates on Linux + Windows (+ Sanitize, clang-tidy, clang-format); the full macOS matrix runs on v* tags so every release is still fully tested on macOS, and release.yml keeps building the macOS binaries from the same tag. The branch ruleset's required checks drop the four macOS contexts to match (done via the rulesets API alongside this change). Signed-off-by: will wade <willwade@gmail.com>
The previous attempt put a matrix-context if: on the shared build-test job; that is not valid in jobs.<id>.if, and GitHub dropped the whole workflow (run concluded 'workflow file issue' with no jobs). Split the four macOS combos into a build-test-macos job gated on v* tags using only the github context, keep build-test to Linux + Windows, and give the mac job a 45-minute timeout for the slower hosted pool. Signed-off-by: will wade <willwade@gmail.com>
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.
Why
The hosted macos-15 pool kept reclaiming jobs mid-run — random cancellations at 5–28 minutes across three rerun rounds on #121 (each leg passed on at least one round, so it's pool weather, not code; macos-latest did the same on Nov 9, see #117). Per-PR macOS gating is currently a lottery that blocks merges.
What
build-testmacOS legs getif: matrix.os != 'macos-15' || startsWith(github.ref, 'refs/tags/v')v*tags, so every release tag runs the full macOS test matrix (release.yml separately builds the macOS binaries from the same tag)Sequencing
This PR unblocks #121 (its one remaining cancelled leg is no longer a required check). Merge order: this → #121 → version bump → tag
v0.2.30, at which point the full macOS suite runs again on the tag.