Skip to content

Commit

Permalink
WELD-2777 Add JDK 21 into CI setup, bump some test configs to use JDK…
Browse files Browse the repository at this point in the history
… 17, keep 11 as minimal
  • Loading branch information
manovotn committed Feb 25, 2024
1 parent 8c43fdf commit c056a10
Showing 1 changed file with 23 additions and 7 deletions.
30 changes: 23 additions & 7 deletions .github/workflows/ci-actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,10 @@ jobs:
name: "17",
java-version: 17,
}
- {
name: "21",
java-version: 21,
}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
Expand Down Expand Up @@ -156,6 +160,10 @@ jobs:
name: "17",
java-version: 17,
}
- {
name: "21",
java-version: 21,
}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
Expand Down Expand Up @@ -212,8 +220,8 @@ jobs:
fail-fast: false
matrix:
java:
- { name: "11",
java-version: 11,
- { name: "17",
java-version: 17,
}
steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -291,6 +299,10 @@ jobs:
name: "17",
java-version: 17,
}
- {
name: "21",
java-version: 21,
}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
Expand Down Expand Up @@ -320,9 +332,9 @@ jobs:
name: test-reports-no-container-jdk${{matrix.java.name}}
path: 'test-reports.tgz'

# Weld Examples build and test, only JDK 11
# Weld Examples build and test, single JDK
examples-tests:
name: "Weld Examples build and test - JDK 11}"
name: "Weld Examples build and test - JDK 17}"
runs-on: ubuntu-latest
needs: build-jdk11
timeout-minutes: 120
Expand All @@ -331,7 +343,7 @@ jobs:
- name: Set up JDK 11
uses: actions/[email protected]
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v3
Expand Down Expand Up @@ -389,6 +401,10 @@ jobs:
name: "17",
java-version: 17,
}
- {
name: "21",
java-version: 21,
}
steps:
- uses: actions/checkout@v4
- name: Set up JDK ${{ matrix.java.name }}
Expand Down Expand Up @@ -426,10 +442,10 @@ jobs:
timeout-minutes: 20
steps:
- uses: actions/checkout@v4
- name: Set up JDK 11
- name: Set up JDK 17
uses: actions/[email protected]
with:
java-version: 11
java-version: 17
distribution: 'temurin'
- name: Download Maven Repo
uses: actions/download-artifact@v3
Expand Down

0 comments on commit c056a10

Please sign in to comment.