Skip to content

Commit

Permalink
JDK 22 CI build (#1935)
Browse files Browse the repository at this point in the history
Improved the visibility in GitHub Actions UI by changing the order of matrix variables.
  • Loading branch information
szpak authored May 15, 2024
1 parent 0b2e519 commit f538921
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 37 deletions.
39 changes: 21 additions & 18 deletions .github/workflows/branches-and-prs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,35 +19,38 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ['ubuntu-latest']
variant: ['2.5', '3.0', '4.0']
java: ['8', '11', '17', '21']
java: ['8', '11', '17', '21', '22']
os: ['ubuntu-latest']
exclude:
- os: 'ubuntu-latest'
variant: '2.5'
- variant: '2.5'
java: '17'
- os: 'ubuntu-latest'
variant: '2.5'
os: 'ubuntu-latest'
- variant: '2.5'
java: '21'
os: 'ubuntu-latest'
- variant: '2.5'
java: '22'
os: 'ubuntu-latest'
include:
- os: 'windows-latest'
variant: '2.5'
- variant: '2.5'
java: '8'
- os: 'windows-latest'
variant: '3.0'
os: 'windows-latest'
- variant: '3.0'
java: '8'
- os: 'windows-latest'
variant: '4.0'
os: 'windows-latest'
- variant: '4.0'
java: '8'
- os: 'macos-latest'
variant: '2.5'
os: 'windows-latest'
- variant: '2.5'
java: '8'
- os: 'macos-latest'
variant: '3.0'
os: 'macos-latest'
- variant: '3.0'
java: '8'
- os: 'macos-latest'
variant: '4.0'
os: 'macos-latest'
- variant: '4.0'
java: '8'
os: 'macos-latest'
steps:
- uses: actions/checkout@v4
with:
Expand Down
39 changes: 21 additions & 18 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,35 +14,38 @@ jobs:
strategy:
fail-fast: false
matrix:
os: [ 'ubuntu-latest' ]
variant: ['2.5', '3.0', '4.0']
java: [ '8', '11', '17', '21' ]
java: [ '8', '11', '17', '21', '22' ]
os: [ 'ubuntu-latest' ]
exclude:
- os: 'ubuntu-latest'
variant: '2.5'
- variant: '2.5'
java: '17'
- os: 'ubuntu-latest'
variant: '2.5'
os: 'ubuntu-latest'
- variant: '2.5'
java: '21'
os: 'ubuntu-latest'
- variant: '2.5'
java: '22'
os: 'ubuntu-latest'
include:
- os: 'windows-latest'
variant: '2.5'
- variant: '2.5'
java: '8'
- os: 'windows-latest'
variant: '3.0'
os: 'windows-latest'
- variant: '3.0'
java: '8'
- os: 'windows-latest'
variant: '4.0'
os: 'windows-latest'
- variant: '4.0'
java: '8'
- os: 'macos-latest'
variant: '2.5'
os: 'windows-latest'
- variant: '2.5'
java: '8'
- os: 'macos-latest'
variant: '3.0'
os: 'macos-latest'
- variant: '3.0'
java: '8'
- os: 'macos-latest'
variant: '4.0'
os: 'macos-latest'
- variant: '4.0'
java: '8'
os: 'macos-latest'
steps:
- uses: actions/checkout@v4
with:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ class Test extends Bar {

@Requires({
jvm.java8 || jvm.java9 || jvm.java10 || jvm.java11 || jvm.java12 || jvm.java13 || jvm.java14 || jvm.java15 || jvm.java16 || jvm.java17 ||
jvm.isJavaVersion(18) || jvm.java21
jvm.isJavaVersion(18) || jvm.java21 || jvm.java22
})
def "provides JVM information"() {
expect: true
Expand Down

0 comments on commit f538921

Please sign in to comment.