-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1242 from carldea/main
Using TCK Tested JDK builds of OpenJDK
- Loading branch information
Showing
1 changed file
with
9 additions
and
9 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 |
---|---|---|
|
@@ -13,14 +13,14 @@ jobs: | |
strategy: | ||
fail-fast: false | ||
matrix: | ||
java: [ 16 ] | ||
java: [ 16, 17 ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
distribution: 'adopt' | ||
distribution: 'zulu' | ||
- name: Cached .m2 | ||
uses: actions/[email protected] | ||
with: | ||
|
@@ -39,14 +39,14 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
os: [ ubuntu, windows ] | ||
java: [ 8, 11, 16 ] | ||
java: [ 8.0.192, 8, 11.0.3, 11, 16, 17 ] | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Set up JDK | ||
uses: actions/setup-java@v2 | ||
with: | ||
java-version: ${{ matrix.java }} | ||
distribution: 'adopt' | ||
distribution: 'zulu' | ||
- uses: actions/[email protected] | ||
with: | ||
path: ~/.m2/repository | ||
|
@@ -55,22 +55,22 @@ jobs: | |
${{ runner.os }}-maven- | ||
# JDK 8 | ||
- name: Maven Install without Code Coverage | ||
if: matrix.os == 'windows' && matrix.java == '8' | ||
if: matrix.os == 'windows' && startsWith(matrix.java, '8') | ||
run: mvn -B clean install --file pom.xml | ||
- name: Maven Install with Code Coverage | ||
if: matrix.os != 'windows' && matrix.java == '8' | ||
if: matrix.os != 'windows' && startsWith(matrix.java, '8') | ||
run: mvn -B clean install -D enable-ci --file pom.xml | ||
- name: Codecov Report | ||
if: matrix.os != 'windows' && matrix.java == '8' | ||
if: matrix.os != 'windows' && startsWith(matrix.java, '8') | ||
uses: codecov/[email protected] | ||
# JDK 11+ | ||
- name: Maven Install without Code Coverage | ||
if: matrix.os == 'windows' && matrix.java != '8' | ||
if: matrix.os == 'windows' && !startsWith(matrix.java, '8') | ||
env: | ||
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }} | ||
run: mvn -B clean install --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED" | ||
- name: Maven Install with Code Coverage | ||
if: matrix.os != 'windows' && matrix.java != '8' | ||
if: matrix.os != 'windows' && !startsWith(matrix.java, '8') | ||
env: | ||
MAVEN_OPTS: ${{ env.JAVA_11_PLUS_MAVEN_OPTS }} | ||
run: mvn -B clean install -D enable-ci --file pom.xml "-Dsurefire.argLine=--add-opens java.base/java.net=ALL-UNNAMED" |