Repository navigation
ci: run the macOS recipe lanes on master, not on pull requests - #1522
Merged
Merged
Conversation
The account runs 5 hosted macOS jobs at a time, and the two macOS recipe lanes were the last macOS jobs every PR needed (package-macos moved to pushes on 2026-11-13), so they still set how fast PRs merged. A plan job now builds ci-recipe.yml's lane list: pull requests get the Linux and Windows lanes, plus macOS when the PR has the `macos` label (adding the label restarts the run with them); a push to master gets the macOS lanes; ci/full/** pushes and workflow_dispatch get all five. Master's runs are not cancelled by newer pushes, so each macOS run finishes. publish-cvcpkg.yml and release.yml, which build the macOS packages cvcpkg publishes, are unchanged.
This was referenced Nov 24, 2026
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.
The macOS recipe lanes were the last macOS jobs every pull request needed. The account runs 5 hosted macOS jobs at a time, so those two lanes still set how fast PRs merged, after
package-macosmoved to pushes on 2026-11-13. This moves them to master.What runs where (
ci-recipe.yml)macoslabelci/full/**, workflow_dispatchplanjob on a Linux runner builds the lane list, andbuild-recipetakes it as its matrix. A matrix entry can't be skipped with anif:. A job-levelif:can't seematrix, and a step-level one still holds a macOS runner just to skip.macosgets its own concurrency group and builds nothing, so it doesn't cancel the PR's run.recipe / <os> / <config>).Not changed
publish-cvcpkg.ymlandrelease.ymlbuild and publish the macOS packages on cvcpkg exactly as before.Branch protection
Once this merges,
recipe / macos-latest / Releaseandrecipe / macos-latest / Debugcome off master's required checks. PRs no longer report them, so they would otherwise wait forever. Before tagging a release, check that master's macOS run is green.Test
macoslabel, another label, a push to master, a push toci/full/**, and workflow_dispatch. Each gave the lanes in the table.