From ecfff8277df4d206fff94a94da259ecef702dd2c Mon Sep 17 00:00:00 2001
From: Valery Kharseko <vharseko@3a-systems.ru>
Date: Mon, 06 Jul 2026 06:46:35 +0000
Subject: [PATCH] CI: full Java matrix on ubuntu only; macOS/Windows build with Java 11 and 26 (#704)

---
 .github/workflows/build.yml |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 58927fe..6932ab1 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -23,9 +23,16 @@
   build-maven:
     runs-on: ${{ matrix.os }}
     strategy:
+      # The full Java sweep runs on ubuntu only; macOS and Windows build with the
+      # minimum supported (11) and the latest (26) Java.
       matrix:
+        os: [ 'ubuntu-latest' ]
         java: [ '11','17','21','25','26']
-        os: [ 'ubuntu-latest', 'macos-latest', 'windows-latest' ]
+        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:
     - name:  Install wine+rpm for distribution

--
Gitblit v1.10.0