CI: trim build matrix on macOS/Windows and add workflow concurrency#196
Open
vharseko wants to merge 1 commit into
Open
CI: trim build matrix on macOS/Windows and add workflow concurrency#196vharseko wants to merge 1 commit into
vharseko wants to merge 1 commit into
Conversation
- build.yml: run the full JDK matrix (17, 21, 25, 26) only on Ubuntu; macOS and Windows now smoke-test just the min (17) and max (26) JDKs, cutting the matrix from 12 jobs to 8. - 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. - Add CDDL headers to deploy.yml and release.yml. Analogous to OpenICF OpenIdentityPlatform#98.
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 OpenICF #98.
Trim build matrix
build.ymlran a full 4×3 matrix (JDK 17/21/25/26 × Ubuntu/macOS/Windows = 12 jobs). macOS and Windows runners are the slowest and scarcest in CI and rarely surface OS-specific issues beyond the JDK edges, so:include.The
ui-smoke-testsjob is unaffected: it downloads theubuntu-latest-17andubuntu-latest-26artifacts, both of which are still produced by the Ubuntu matrix.Workflow concurrency
Added
concurrencygroups keyed on${{ github.workflow }}-${{ github.ref }}(deploy useshead_branch, since it is triggered byworkflow_run):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.Also adds the standard CDDL header to
deploy.ymlandrelease.yml(they had none).