Skip to content

Conversation

@Goooler
Copy link
Member

@Goooler Goooler commented Oct 10, 2025

Reflects

build:
name: OS=${{ matrix.os }}, Java=${{ matrix.java }}, Gradle=${{ matrix.gradle }}
strategy:
matrix:
os: [ ubuntu-24.04-arm ]
# Always test on the latest version and some LTS.
java: [ 17, 24 ]
# Test on the minimum Gradle version and the latest.
gradle: [ 9.0.0, current ]
include:
# We just test one JDK version on Windows.
- os: windows-11-arm
gradle: 9.0.0
java: 21
- os: windows-11-arm
gradle: current
java: 21
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v5
- uses: actions/setup-java@v5
with:
distribution: 'zulu'
java-version: ${{ matrix.java }}
- uses: gradle/actions/setup-gradle@v5
- run: ./gradlew build "-PtestGradleVersion=${{ matrix.gradle }}" --stacktrace -x lint

@Goooler Goooler force-pushed the g/20251010/test-matrix branch 2 times, most recently from 7b98227 to e0fd62a Compare October 10, 2025 06:40
@Goooler Goooler force-pushed the g/20251010/test-matrix branch from e0fd62a to ad5fd6a Compare October 10, 2025 06:49
@Goooler Goooler requested a review from Copilot October 10, 2025 06:49
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

Updates the CI test matrix configuration to align with the GradleUp/shadow project's workflow, focusing on ARM-based Ubuntu runners with selective Windows testing and refined Java version coverage.

Key changes:

  • Switched primary OS from multiple platforms to ARM-based Ubuntu (ubuntu-24.04-arm)
  • Reduced Java version matrix from [17, 21, 25] to [17, 25]
  • Added selective Windows testing via include matrix for specific Java/Gradle combinations

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@Goooler Goooler merged commit e7545d2 into 8.x Oct 10, 2025
5 checks passed
@Goooler Goooler deleted the g/20251010/test-matrix branch October 10, 2025 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants