Skip to content

Try enabling Java17 test #82

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,31 @@ on:
- pull_request

jobs:
build:
# build_before_java16:
# runs-on: ubuntu-latest
# strategy:
# matrix:
# java:
# - '8' # 2030.12
# - '11' # 2026.09
# name: Build for Java ${{ matrix.Java }}
# steps:
# - uses: actions/checkout@v2
# - name: Setup java
# uses: actions/setup-java@v2
# with:
# distribution: 'temurin'
# java-version: ${{ matrix.java }}
# - name: Build with Maven
# run: mvn -B package --file pom.xml

build_after_java16:
runs-on: ubuntu-latest
strategy:
matrix:
java:
- '8'
- '11'
#- '17'
name: Java ${{ matrix.Java }} sample
- '17' # 2029.09
name: Build for Java ${{ matrix.Java }}
steps:
- uses: actions/checkout@v2
- name: Setup java
Expand All @@ -25,4 +41,4 @@ jobs:
distribution: 'temurin'
java-version: ${{ matrix.java }}
- name: Build with Maven
run: mvn -B package --file pom.xml
run: mvn -B package --file pom.xml
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<!-- <parallel>all</parallel> &lt;!&ndash; Run tests in parallel&ndash;&gt;-->
<!-- <useUnlimitedThreads>true</useUnlimitedThreads>-->
<rerunFailingTestsCount>10</rerunFailingTestsCount>
<argLine>-Xms1g -Xmx1g</argLine>
<argLine>-Xms1g -Xmx1g --add-opens java.base/java.lang=ALL-UNNAMED</argLine>
</configuration>
</plugin>
<plugin>
Expand Down