From 0b469e14bf163eb5647caea6dcade17ea2c766b6 Mon Sep 17 00:00:00 2001 From: Valera V Harseko Date: Sun, 5 Jul 2026 10:02:31 +0300 Subject: [PATCH 1/2] CI: run the full Java matrix on ubuntu only; macOS/Windows build with 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. --- .github/workflows/build.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 58927fe9e8..22f0ccbc86 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -23,9 +23,14 @@ jobs: build-maven: runs-on: ${{ matrix.os }} strategy: + # The full Java sweep runs on ubuntu only; macOS and Windows build with the + # latest Java (the OS-specific code does not depend on the Java version). matrix: + os: [ 'ubuntu-latest' ] java: [ '11','17','21','25','26'] - os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ] + include: + - { os: 'macos-latest', java: '26' } + - { os: 'windows-latest', java: '26' } fail-fast: false steps: - name: Install wine+rpm for distribution From 044d3c664f1159ebdd35e832e99e9fa4da8de09c Mon Sep 17 00:00:00 2001 From: Valera V Harseko Date: Sun, 5 Jul 2026 10:09:54 +0300 Subject: [PATCH 2/2] CI matrix: also build macOS/Windows with the minimum Java (11) 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. --- .github/workflows/build.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 22f0ccbc86..6932ab101b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -24,12 +24,14 @@ jobs: runs-on: ${{ matrix.os }} strategy: # The full Java sweep runs on ubuntu only; macOS and Windows build with the - # latest Java (the OS-specific code does not depend on the Java version). + # 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' } fail-fast: false steps: