Skip to content
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

Add java 21 to the CI matrix #2292

Merged
merged 3 commits into from
Jul 7, 2024
Merged
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
14 changes: 8 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ jobs:
name: android-natives
path: build/native

# Build the engine, we only deploy from ubuntu-latest jdk17
# Build the engine, we only deploy from ubuntu-latest jdk21
BuildJMonkey:
needs: [BuildAndroidNatives]
name: Build on ${{ matrix.osName }} jdk${{ matrix.jdk }}
Expand All @@ -91,7 +91,7 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest,windows-latest,macOS-latest]
jdk: [11, 17]
jdk: [11, 17, 21]
include:
- os: ubuntu-latest
osName: linux
Expand All @@ -104,6 +104,8 @@ jobs:
deploy: false
- jdk: 11
deploy: false
- jdk: 17
deploy: false

steps:
- name: Clone the repo
Expand Down Expand Up @@ -304,12 +306,12 @@ jobs:
with:
fetch-depth: 1

# Setup jdk 17 used for building Maven-style artifacts
# Setup jdk 21 used for building Maven-style artifacts
- name: Setup the java environment
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

- name: Download natives for android
uses: actions/download-artifact@master
Expand Down Expand Up @@ -348,12 +350,12 @@ jobs:
with:
fetch-depth: 1

# Setup jdk 17 used for building Sonatype OSSRH artifacts
# Setup jdk 21 used for building Sonatype OSSRH artifacts
- name: Setup the java environment
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
java-version: '21'

# Download all the stuff...
- name: Download maven artifacts
Expand Down
Loading