Skip to content

Commit

Permalink
Get LabsJDK in GHA
Browse files Browse the repository at this point in the history
  • Loading branch information
smarr committed Jul 28, 2023
1 parent 0bc6148 commit ff71a8a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,10 @@ jobs:
git clone --depth 1 https://github.com/graalvm/mx.git
echo "PATH=$PATH:`pwd`/mx" >> "$GITHUB_ENV"
- name: Get LabsJDK
run: |
mx get-labsjdk
- name: CheckStyle
run: |
mx checkstyle
Expand Down Expand Up @@ -45,6 +49,10 @@ jobs:
git clone --depth 1 https://github.com/graalvm/mx.git
export PATH=$PATH:`pwd`/mx
- name: Get LabsJDK
run: |
mx get-labsjdk
- name: Compile TruffleSOM
run: |
mx build
Expand Down
6 changes: 6 additions & 0 deletions mx.trufflesom/mx_trufflesom.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,12 @@ def get_output_name(opt):
return output_name


@mx.command(suite.name, "get-labsjdk")
def get_labsjdk(args, **kwargs):
"""download the LabsJDK"""
ensure_labsjdk()


@mx.command(
suite.name,
"build-native",
Expand Down

0 comments on commit ff71a8a

Please sign in to comment.