Skip to content

Commit

Permalink
Build standalones with JDK 21
Browse files Browse the repository at this point in the history
This makes it possible to use Oracle GraalVM again.
  • Loading branch information
fniephaus committed Feb 16, 2024
1 parent 6f38434 commit fb8a75b
Showing 1 changed file with 14 additions and 15 deletions.
29 changes: 14 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ jobs:
os: [ubuntu-20.04, ubuntu-20.04-aarch64, windows-2022, macos-11, macos-14]
type: [native, jvm]
env:
JAVA_VERSION: "22"
JAVA_VERSION: "21"
MX_ENV: "trufflesqueak-${{ matrix.type }}"
VERBOSE_GRAALVM_LAUNCHERS: true
name: ${{ matrix.type }} ${{ matrix.os }}
Expand All @@ -149,20 +149,19 @@ jobs:
steps:
- name: Clone TruffleSqueak repository
uses: actions/checkout@v4
# Oracle GraalVM for JDK 22 not released yet
# - name: Set up Oracle GraalVM
# uses: graalvm/setup-graalvm@v1
# with:
# java-version: ${{ env.JAVA_VERSION }}
# distribution: 'graalvm'
# github-token: ${{ secrets.GITHUB_TOKEN }}
# if: ${{ matrix.type == 'native' }}
# - name: Enable Oracle GraalVM
# shell: bash
# run: |
# echo "EXTRA_GRAALVM_HOME=$JAVA_HOME" >> $GITHUB_ENV
# cat "${JAVA_HOME}/LICENSE.txt" > "${GITHUB_WORKSPACE}/LICENSE"
# if: ${{ matrix.type == 'native' }}
- name: Set up Oracle GraalVM
uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
if: ${{ matrix.type == 'native' }}
- name: Enable Oracle GraalVM
shell: bash
run: |
echo "EXTRA_GRAALVM_HOME=$JAVA_HOME" >> $GITHUB_ENV
cat "${JAVA_HOME}/LICENSE.txt" > "${GITHUB_WORKSPACE}/LICENSE"
if: ${{ matrix.type == 'native' }}
- name: Set up Python
uses: actions/setup-python@v5
with:
Expand Down

0 comments on commit fb8a75b

Please sign in to comment.