Skip to content

Commit

Permalink
Clone graal before installing JVMCI
Browse files Browse the repository at this point in the history
* Because installing JVMCI now needs to have graal cloned or clones it.
  • Loading branch information
eregon committed Feb 3, 2024
1 parent 2d0c64b commit 5e0e6b7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/truffleruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,10 +45,6 @@ jobs:
run: tool/import-prism.sh
working-directory: truffleruby-ws/truffleruby

- name: Install JVMCI
run: jt install jvmci
- name: Set JAVA_HOME
run: echo "JAVA_HOME=$(jt install jvmci)" >> $GITHUB_ENV
- name: Get graal commit
id: graal_commit
run: echo "graal_commit=$(jt truffle_version)" >> $GITHUB_OUTPUT
Expand All @@ -59,6 +55,11 @@ jobs:
path: truffleruby-ws/graal
ref: ${{ steps.graal_commit.outputs.graal_commit }}

- name: Install JVMCI
run: jt install jvmci
- name: Set JAVA_HOME
run: echo "JAVA_HOME=$(jt install jvmci)" >> $GITHUB_ENV

- name: Build TruffleRuby
run: jt build
working-directory: truffleruby-ws/truffleruby
Expand Down

0 comments on commit 5e0e6b7

Please sign in to comment.