Skip to content

Commit

Permalink
Configure CI to run the build with Java 15 and 16 (EA).
Browse files Browse the repository at this point in the history
  • Loading branch information
cescoffier committed Mar 17, 2021
1 parent adadf52 commit 1d88054
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 37 deletions.
20 changes: 2 additions & 18 deletions .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ jobs:
java: [
{'version': '8', 'source': 'releases'},
{'version': '11', 'source': 'releases'},
{'version': '14', 'source': 'releases'}
{'version': '15', 'source': 'releases'},
{'version': '16', 'source': 'nightly'}
]
name: Build with Java ${{ matrix.java.version }} (OpenJDK)
steps:
Expand All @@ -32,23 +33,6 @@ jobs:
- name: Build with Maven
run: mvn -B clean verify

java15:
runs-on: ubuntu-20.04
name: Build with Java 15 (Zulu)
steps:
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-java-15
- uses: actions/checkout@v2
- name: Install JDK 15
uses: actions/[email protected]
with:
java-version: '15-ea'
architecture: x64
- name: Build with Maven
run: mvn -B clean verify

snapshot:
needs: build
runs-on: ubuntu-20.04
Expand Down
23 changes: 4 additions & 19 deletions .github/workflows/build-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,10 @@ jobs:
strategy:
matrix:
java: [
{'version': '8', 'source': 'releases'},
{'version': '11', 'source': 'releases'},
{'version': '14', 'source': 'releases'}
{ 'version': '8', 'source': 'releases' },
{ 'version': '11', 'source': 'releases' },
{ 'version': '15', 'source': 'releases' },
{ 'version': '16', 'source': 'nightly' }
]
name: Build with Java ${{ matrix.java.version }}
steps:
Expand All @@ -29,22 +30,6 @@ jobs:
run: mvn -B clean verify -Pcoverage
- name: Codecov
uses: codecov/[email protected]
java15:
runs-on: ubuntu-20.04
name: Build with Java 15
steps:
- uses: actions/cache@v2
with:
path: ~/.m2/repository
key: maven-java-15
- uses: actions/checkout@v2
- name: Install JDK 15 (Zulu)
uses: actions/[email protected]
with:
java-version: '15-ea'
architecture: x64
- name: Build with Maven
run: mvn -B clean verify
compatibility:
runs-on: ubuntu-20.04
name: Compatibility Check
Expand Down

0 comments on commit 1d88054

Please sign in to comment.