CI: trim build matrix on macOS/Windows and add workflow concurrency#98
Open
vharseko wants to merge 2 commits into
Open
CI: trim build matrix on macOS/Windows and add workflow concurrency#98vharseko wants to merge 2 commits into
vharseko wants to merge 2 commits into
Conversation
- build.yml: run the full JDK matrix (11, 17, 21, 25, 26) only on Ubuntu; macOS and Windows now smoke-test just the min (11) and max (26) JDKs, cutting the matrix from 15 jobs to 9. - Add concurrency groups keyed on workflow+ref: cancel-in-progress for build.yml, and cancel-in-progress: false for release.yml and deploy.yml so publishing/release runs queue instead of being interrupted. Analogous to OpenAM #1064 and #1065.
maximthomas
reviewed
Jul 9, 2026
Co-authored-by: Maxim Thomas <maxim.thomas@gmail.com>
maximthomas
approved these changes
Jul 9, 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.
Analogous to OpenAM #1064 and #1065.
Trim build matrix (like OpenAM #1064)
build.ymlran a full 5×3 matrix (JDK 11/17/21/25/26 × Ubuntu/macOS/Windows = 15 jobs). macOS and Windows runners are the slowest and scarcest in CI and rarely surface OS-specific issues beyond the JDK edges, so:include.Workflow concurrency (like OpenAM #1065)
Added
concurrencygroups keyed on${{ github.workflow }}-${{ github.ref }}:build.yml:cancel-in-progress: true— a new push/PR cancels a superseded in-flight build.release.yml/deploy.yml:cancel-in-progress: false— overlapping runs queue instead of being interrupted, protecting Maven Central publishing / GitHub releases.codeql.ymlis intentionally left untouched.