Skip to content

Update GraalVM Version. Fix WASM incompatibility. #16

Update GraalVM Version. Fix WASM incompatibility.

Update GraalVM Version. Fix WASM incompatibility. #16

Workflow file for this run

name: Test demo
on:
push:
pull_request:
schedule:
- cron: "0 0 1 * *" # run every month
jobs:
maven:
name: Test Maven
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '22.0.1'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Build and run with Maven
run: |
mvn --no-transfer-progress package
mvn --no-transfer-progress test
mvn --no-transfer-progress exec:exec
mvn --no-transfer-progress -Pnative package
./target/embedding
gradle:
name: Test Gradle
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '22.0.1'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
native-image-job-reports: 'true'
- name: Build and run with Gradle
run: |
gradle build
gradle run
gradle test
gradle nativeCompile
gradle nativeRun