Skip to content

Test GraalWasm Embed C in Java Guide #6

Test GraalWasm Embed C in Java Guide

Test GraalWasm Embed C in Java Guide #6

name: Test Embed C in Java Using GraalWasm Guide
on:
push:
paths:
- 'graalwasm/graalwasm-embed-c-code-guide/**'
- '.github/workflows/graalwasm-embed-c-code-guide.yml'
pull_request:
paths:
- 'graalwasm/graalwasm-embed-c-code-guide/**'
- '.github/workflows/graalwasm-embed-c-code-guide.yml'
workflow_dispatch:
permissions:
contents: read
jobs:
run:
name: 'graalwasm-embed-c-code-guide'
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '23.0.0'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
cache: 'maven'
native-image-job-reports: 'true'
- uses: mymindstorm/setup-emsdk@v14
- name: Build, test, and run 'graalwasm-embed-c-code-guide'
run: |
cd graalwasm/graalwasm-embed-c-code-guide
./mvnw --no-transfer-progress package
./mvnw --no-transfer-progress exec:java