Skip to content

CI: full Java matrix on ubuntu only; macOS/Windows build with Java 11 and 26#704

Merged
vharseko merged 2 commits into
OpenIdentityPlatform:masterfrom
vharseko:issues/ci-matrix-java-ubuntu
Jul 6, 2026
Merged

CI: full Java matrix on ubuntu only; macOS/Windows build with Java 11 and 26#704
vharseko merged 2 commits into
OpenIdentityPlatform:masterfrom
vharseko:issues/ci-matrix-java-ubuntu

Conversation

@vharseko

@vharseko vharseko commented Jul 5, 2026

Copy link
Copy Markdown
Member

The 5 Java x 3 OS matrix (15 jobs per push) spends most of its wall-clock queued for the scarce macOS runners, while the OS-specific parts of the build (native launchers, packaging, platform tests) barely depend on the Java version.

Keep the full Java sweep (11/17/21/25/26) on ubuntu; macOS and Windows build with the minimum supported (11) and the latest (26) Java:

matrix:
  os: [ 'ubuntu-latest' ]
  java: [ '11','17','21','25','26']
  include:
    - { os: 'macos-latest',   java: '11' }
    - { os: 'macos-latest',   java: '26' }
    - { os: 'windows-latest', java: '11' }
    - { os: 'windows-latest', java: '26' }

9 jobs instead of 15. Job names keep the same build-maven (26, macos-latest) format.

Notes:

… Java 26

The 5x3 matrix (15 jobs) queued for hours on the scarce macOS runners while
the OS-specific coverage does not depend on the Java version. Keep the full
11/17/21/25/26 sweep on ubuntu and build macOS and Windows once, with the
latest Java (7 jobs total). The ubuntu-latest-11 artifact consumed by the
docker jobs is unaffected.
@vharseko vharseko added the CI label Jul 5, 2026
@vharseko vharseko requested a review from maximthomas July 5, 2026 07:04
Keeps the windows-latest-11 artifact consumed by the MSI test/deploy jobs on the packaging branches, and retains minimum-Java coverage per OS. 9 jobs instead of 15.
@vharseko vharseko changed the title CI: full Java matrix on ubuntu only; macOS/Windows build with Java 26 CI: full Java matrix on ubuntu only; macOS/Windows build with Java 11 and 26 Jul 5, 2026
@vharseko vharseko merged commit ecfff82 into OpenIdentityPlatform:master Jul 6, 2026
21 of 22 checks passed
@vharseko vharseko deleted the issues/ci-matrix-java-ubuntu branch July 6, 2026 06:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants