Skip to content

Refactor CI to use matrix strategy and add JDK 24 support #895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 19, 2025

Conversation

xerial
Copy link
Member

@xerial xerial commented Jul 19, 2025

Summary

  • Refactored CI workflow to use GitHub Actions matrix strategy for JDK testing
  • Added JDK 24 to the test matrix
  • Reduced CI configuration from ~100 lines to ~50 lines

Changes

  • Replaced 4 individual test jobs (test_jdk8, test_jdk11, test_jdk17, test_jdk21) with a single matrix-based job
  • Added JDK 24 to the test matrix, so tests now run on JDK 8, 11, 17, 21, and 24
  • Each JDK version still runs both standard tests and universal buffer tests

Benefits

  • Cleaner, more maintainable CI configuration
  • Easy to add new JDK versions in the future (just add to the matrix array)
  • Reduces duplication and potential for configuration drift
  • All JDK versions use identical test steps

Test plan

  • CI workflow syntax is valid
  • All existing JDK versions (8, 11, 17, 21) continue to be tested
  • New JDK 24 tests run successfully
  • Both standard and universal buffer tests run for each JDK version

🤖 Generated with Claude Code

- Replace individual JDK test jobs with a single matrix-based job
- Add JDK 24 to the test matrix (now tests JDK 8, 11, 17, 21, and 24)
- Simplifies CI configuration and makes it easier to add new JDK versions

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@xerial xerial merged commit 032823b into main Jul 19, 2025
8 checks passed
@xerial xerial deleted the add-jdk24-matrix-tests branch July 19, 2025 16:18
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.

1 participant
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy