Skip to content

Commit

Permalink
upgrade github actions test matrix
Browse files Browse the repository at this point in the history
  • Loading branch information
Naenyn committed Sep 26, 2024
1 parent b7a8ff6 commit 83f4a53
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,24 +9,34 @@ on:

jobs:
test:
name: '${{ matrix.platform }} with Java ${{ matrix.java-version }}'
name: '${{ matrix.platform }} with Java ${{ matrix.java-distribution }} version ${{ matrix.java-version }}'
strategy:
matrix:
platform:
- ubuntu-latest
- windows-latest
- macos-latest
java-distribution:
- adopt-hotspot
- temurin
- zulu
java-version:
- 8
- 11
include:
- platform: windows-latest
java-distribution: adopt-hotspot
java-version: 11
- platform: macos-latest
java-distribution: adopt-hotspot
java-version: 11
runs-on: ${{ matrix.platform }}
timeout-minutes: 5
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up JDK
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: adopt-hotspot
distribution: ${{ matrix.java-distribution }}
java-version: ${{ matrix.java-version }}
- name: Install
run: mvn clean install -DskipTests=true -D"maven.javadoc.skip=true" -B -V -D"javax.xml.accessExternalSchema=all"
Expand Down

0 comments on commit 83f4a53

Please sign in to comment.