Skip to content

Commit

Permalink
Set GRAALVM_HOME correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
thiagokokada committed Sep 9, 2021
1 parent d4d4737 commit 5e2a615
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
4 changes: 0 additions & 4 deletions .circleci/config.yml
Expand Up @@ -66,7 +66,6 @@ jobs:
working_directory: ~/repo
environment:
LEIN_ROOT: "true"
GRAALVM_HOME: /home/circleci/graalvm-ce-java11-21.2.0
BABASHKA_PLATFORM: linux # used in release script
BABASHKA_TEST_ENV: native
BABASHKA_XMX: "-J-Xmx6500m"
Expand Down Expand Up @@ -127,7 +126,6 @@ jobs:
working_directory: ~/repo
environment:
LEIN_ROOT: "true"
GRAALVM_HOME: /home/circleci/graalvm-ce-java11-21.2.0
BABASHKA_PLATFORM: linux # used in release script
BABASHKA_TEST_ENV: native
BABASHKA_STATIC: "true"
Expand Down Expand Up @@ -203,7 +201,6 @@ jobs:
working_directory: ~/repo
environment:
LEIN_ROOT: "true"
GRAALVM_HOME: /home/circleci/graalvm-ce-java11-21.2.0
BABASHKA_PLATFORM: linux # used in release script
BABASHKA_ARCH: aarch64
BABASHKA_TEST_ENV: native
Expand Down Expand Up @@ -274,7 +271,6 @@ jobs:
working_directory: ~/repo
environment:
LEIN_ROOT: "true"
GRAALVM_HOME: /home/circleci/graalvm-ce-java11-21.2.0
BABASHKA_PLATFORM: linux # used in release script
BABASHKA_ARCH: aarch64
BABASHKA_TEST_ENV: native
Expand Down
3 changes: 2 additions & 1 deletion script/download-graalvm
@@ -1,6 +1,7 @@
#!/usr/bin/env bash

GRAALVM_VERSION="${GRAALVM_VERSION:-21.2.0}"
export GRAALVM_VERSION="${GRAALVM_VERSION:-21.2.0}"
export GRAALVM_HOME="$PWD"

if ! [ -d "graalvm-ce-java11-$GRAALVM_VERSION" ]; then
echo "Downloading GraalVM $GRAALVM_VERSION on '$PWD'..."
Expand Down

0 comments on commit 5e2a615

Please sign in to comment.