Reduce CI build matrix on macOS and Windows to min/max JDK#1064
Merged
vharseko merged 1 commit intoJul 10, 2026
Conversation
Keep the full Java matrix (11, 17, 21, 25, 26) on ubuntu-latest, which also runs the integration tests and Docker jobs, but only exercise the minimum and maximum supported JDKs (11 and 26) on macos-latest and windows-latest via matrix include. This cuts the matrix from 15 jobs down to 9 while retaining OS smoke coverage on the JDK edges.
This was referenced Jul 9, 2026
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.
Summary
The
build-mavenjob matrix was a full cross-product of 5 JDKs × 3 OSes = 15 jobs. This reduces it to 9 jobs by only exercising the minimum and maximum supported JDKs (11 and 26) on macOS and Windows.11, 17, 21, 25, 26(also runs the integration-test profile and feeds the Docker jobs)11and26only (viainclude)11and26only (viainclude)Because the
includeentries useosvalues that don't match the baseos: [ ubuntu-latest ], GitHub Actions creates them as new combinations rather than expanding existing ones, so JDK 17/21/25 no longer run on macOS/Windows.Rationale
macOS and Windows runners are the slowest and scarcest in CI; the intermediate JDKs on those platforms rarely surface OS-specific issues that the JDK edges don't. Full coverage is retained on Linux.