Skip to content

Commit

Permalink
update graalvm
Browse files Browse the repository at this point in the history
  • Loading branch information
retrogradeorbit committed Feb 26, 2022
1 parent 8f7ce28 commit 57fa56b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
working_directory: ~/repo
environment:
LEIN_ROOT: "true"
GRAALVM_HOME: /home/circleci/graalvm-ce-java11-19.3.1
GRAALVM_HOME: /home/circleci/graalvm-ce-java11-22.0.0.2
steps:
- checkout
- restore_cache:
Expand All @@ -71,11 +71,11 @@ jobs:
name: Download GraalVM
command: |
cd ~
if ! [ -d graalvm-ce-java11-19.3.1 ]; then
curl -O -sL https://github.com/oracle/graal/releases/download/vm-19.3.1/graalvm-ce-java11-linux-amd64-19.3.1.tar.gz
tar xzf graalvm-ce-java11-linux-amd64-19.3.1.tar.gz
if ! [ -d graalvm-ce-java11-22.0.0.2 ]; then
curl -O -sL https://github.com/oracle/graal/releases/download/vm-22.0.0.2/graalvm-ce-java11-linux-amd64-22.0.0.2.tar.gz
tar xzf graalvm-ce-java11-linux-amd64-22.0.0.2.tar.gz
fi
graalvm-ce-java11-19.3.1/bin/gu install native-image
graalvm-ce-java11-22.0.0.2/bin/gu install native-image
- run:
name: Build binary
command: |
Expand All @@ -88,7 +88,7 @@ jobs:
- save_cache:
paths:
- ~/.m2
- ~/graalvm-ce-java11-19.3.1
- ~/graalvm-ce-java11-22.0.0.2
key: linux-{{ checksum "project.clj" }}-{{ checksum ".circleci/config.yml" }}
- store_artifacts:
path: /tmp/release
Expand Down Expand Up @@ -116,9 +116,9 @@ jobs:
command: |
cd ~
ls -la
if ! [ -d graalvm-ce-java11-20.1.0 ]; then
curl -O -sL https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-20.1.0/graalvm-ce-java11-darwin-amd64-20.1.0.tar.gz
tar xzf graalvm-ce-java11-darwin-amd64-20.1.0.tar.gz
if ! [ -d graalvm-ce-java11-22.0.0.2 ]; then
curl -O -sL https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java11-darwin-amd64-22.0.0.2.tar.gz
tar xzf graalvm-ce-java11-darwin-amd64-22.0.0.2.tar.gz
fi
$GRAALVM_HOME/bin/gu install native-image
- run:
Expand All @@ -133,7 +133,7 @@ jobs:
- save_cache:
paths:
- ~/.m2
- ~/graalvm-ce-java11-20.1.0
- ~/graalvm-ce-java11-22.0.0.2
key: mac-{{ checksum "project.clj" }}-{{ checksum ".circleci/config.yml" }}
- store_artifacts:
path: /tmp/release
Expand Down
4 changes: 2 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ image: Visual Studio 2017
clone_folder: C:\projects\bootleg

environment:
GRAALVM_HOME: C:\projects\bootleg\graalvm\graalvm-ce-java11-21.3.0
GRAALVM_HOME: C:\projects\bootleg\graalvm\graalvm-ce-java11-22.0.0.2
BOOTLEG_VERSION: 0.1.10

cache:
Expand All @@ -23,7 +23,7 @@ build_script:
- cmd: >-
call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat"
powershell -Command "if (Test-Path('graalvm')) { return } else { (New-Object Net.WebClient).DownloadFile('https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-21.3.0/graalvm-ce-java11-windows-amd64-21.3.0.zip', 'graalvm.zip') }"
powershell -Command "if (Test-Path('graalvm')) { return } else { (New-Object Net.WebClient).DownloadFile('https://github.com/graalvm/graalvm-ce-builds/releases/download/vm-22.0.0.2/graalvm-ce-java11-windows-amd64-22.0.0.2.zip', 'graalvm.zip') }"
powershell -Command "if (Test-Path('graalvm')) { return } else { Expand-Archive graalvm.zip graalvm }"
Expand Down

0 comments on commit 57fa56b

Please sign in to comment.