From 2a809848e56c7d26b3dbd964a1d99e37ca61acc6 Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Fri, 16 Sep 2022 18:43:43 +0200 Subject: [PATCH] Install GraalVM for main CI build on Linux --- .github/workflows/main.yml | 7 +++++++ .../projects/graalvm-starter/gradle.properties | 1 + 2 files changed, 8 insertions(+) create mode 100644 platform-tooling-support-tests/projects/graalvm-starter/gradle.properties diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 43754d118b7c..f7a7ef835937 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -27,6 +27,13 @@ jobs: run: | sudo apt-get update sudo apt-get install graphviz + - name: Install GraalVM + uses: graalvm/setup-graalvm@v1 + with: + version: 'latest' + java-version: '17' + components: 'native-image' + github-token: ${{ secrets.GITHUB_TOKEN }} - name: Build uses: ./.github/actions/main-build with: diff --git a/platform-tooling-support-tests/projects/graalvm-starter/gradle.properties b/platform-tooling-support-tests/projects/graalvm-starter/gradle.properties new file mode 100644 index 000000000000..83d0ce01114f --- /dev/null +++ b/platform-tooling-support-tests/projects/graalvm-starter/gradle.properties @@ -0,0 +1 @@ +org.gradle.java.installations.fromEnv=GRAALVM_HOME