Skip to content

Commit

Permalink
ICU-22336 Also test with the latest version of Java, else at least Ja…
Browse files Browse the repository at this point in the history
…va 19
  • Loading branch information
echeran committed Mar 25, 2023
1 parent 3867acf commit 7ecca73
Showing 1 changed file with 19 additions and 3 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/icu_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,15 @@ jobs:
# ICU4J build and unit test using Ant
icu4j-ant-build-and-test:
name: Build and test with Ant for Java version
strategy:
fail-fast: false
matrix:
java-version: [ '8', '11', '17' ]
java-version: [ '8', '11', '17', '19' ]
include:
- check-latest: false # make 'false' the default value for the above matrix variable possibilities
- java-version: 19 # for when java-version == '19', override check-latest to be 'true'
check-latest: true
runs-on: ubuntu-latest
steps:
- name: Checkout and setup
Expand All @@ -48,6 +53,7 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
check-latest: ${{ matrix.check-latest }}
- name: ICU4J
run: |
cd icu4j;
Expand All @@ -74,7 +80,11 @@ jobs:
strategy:
fail-fast: false
matrix:
java-version: [ '8', '11', '17' ]
java-version: [ '8', '11', '17', '19' ]
include:
- check-latest: false # make 'false' the default value for the above matrix variable possibilities
- java-version: 19 # for when java-version == '19', override check-latest to be 'true'
check-latest: true
steps:
- name: Checkout and setup
uses: actions/checkout@v2
Expand All @@ -86,6 +96,7 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
check-latest: ${{ matrix.check-latest }}
cache: maven
- name: Run Maven test
run: |
Expand All @@ -99,7 +110,11 @@ jobs:
strategy:
fail-fast: false
matrix:
java-version: [ '8', '11', '17' ]
java-version: [ '8', '11', '17', '19' ]
include:
- check-latest: false # make 'false' the default value for the above matrix variable possibilities
- java-version: 19 # for when java-version == '19', override check-latest to be 'true'
check-latest: true
steps:
- name: Checkout and setup
uses: actions/checkout@v2
Expand All @@ -111,6 +126,7 @@ jobs:
with:
distribution: 'temurin'
java-version: ${{ matrix.java-version }}
check-latest: ${{ matrix.check-latest }}
cache: maven
# The Maven `verify` phase causes the following to happen first, and in order:
# build/compile (`compile`), unit tests (`test`), Jar building (`package`),
Expand Down

0 comments on commit 7ecca73

Please sign in to comment.