-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure CI to run the build with Java 15 and 16 (EA).
- Loading branch information
1 parent
adadf52
commit 1d88054
Showing
2 changed files
with
6 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: | ||
|
@@ -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 | ||
|