Client diag option, GraalVM updates (#1042)

Changes:
* add client --diag option
* update graalvm toolchain
* update GH actions
This commit is contained in:
Tamas Cservenak
2024-06-20 16:54:54 +01:00
committed by GitHub
parent 111b8a6bfa
commit ef981d5f5b
8 changed files with 22 additions and 57 deletions

View File

@@ -26,7 +26,7 @@ on:
pull_request:
env:
JAVA_VERSION: '17'
JAVA_VERSION: '22'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
@@ -34,7 +34,7 @@ concurrency:
jobs:
default-build:
name: 'Default build (without Graal)'
name: 'Default build (without GraalVM)'
if: startsWith(github.event.head_commit.message, '[release] Release ') != true
runs-on: ubuntu-latest
steps:
@@ -57,7 +57,7 @@ jobs:
path: integration-tests/target/mvnd-tests/**/daemon*.log
native-build:
name: 'Build with Graal on ${{ matrix.os }}'
name: 'Build with GraalVM on ${{ matrix.os }}'
if: startsWith(github.event.head_commit.message, '[release] Release ') != true
strategy:
fail-fast: false
@@ -92,18 +92,17 @@ jobs:
fi
echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
- name: 'Set up Graal'
- name: 'Set up GraalVM'
uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'graalvm'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: 'Maven clean'
run: ./mvnw clean -Dmrm=false -V -B -ntp -e
- name: 'Patch Graal libs for only requiring glibc 2.12'
- name: 'Patch GraalVM libs for only requiring glibc 2.12'
if: ${{ env.OS == 'linux' }}
shell: bash
run: |

View File

@@ -26,11 +26,11 @@ on:
- '*'
env:
JAVA_VERSION: '17'
JAVA_VERSION: '22'
jobs:
build:
name: 'Build with Graal on ${{ matrix.os }}'
name: 'Build with GraalVM on ${{ matrix.os }}'
strategy:
fail-fast: true
matrix:
@@ -64,18 +64,17 @@ jobs:
fi
echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
- name: 'Set up Graal'
- name: 'Set up GraalVM'
uses: graalvm/setup-graalvm@v1
with:
java-version: ${{ env.JAVA_VERSION }}
distribution: 'graalvm'
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: 'Maven clean'
run: ./mvnw clean -Dmrm=false -B -ntp -e
- name: 'Patch Graal libs for only requiring glibc 2.12'
- name: 'Patch GraalVM libs for only requiring glibc 2.12'
if: ${{ env.OS == 'linux' }}
shell: bash
run: |
@@ -145,12 +144,11 @@ jobs:
fi
echo "VERSION=$(./mvnw help:evaluate -Dexpression=project.version -q -DforceStdout)" >> $GITHUB_ENV
- name: 'Set up Graal'
- name: 'Set up GraalVM'
uses: graalvm/setup-graalvm@v1
with:
version: ${{ env.GRAALVM_VERSION }}
java-version: ${{ env.JAVA_VERSION }}
components: 'native-image'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: 'Build source distribution'