Skip to content

Test building native-image #3

Test building native-image

Test building native-image #3

Workflow file for this run

name: GraalVM build
on: [push, pull_request]
jobs:
build:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- uses: graalvm/setup-graalvm@v1
with:
java-version: '22'
distribution: 'graalvm'
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Example step
run: |
echo "GRAALVM_HOME: $GRAALVM_HOME"
echo "JAVA_HOME: $JAVA_HOME"
java --version
native-image --version
- name: Compile and package
run: mvn package
- name: Example step using Maven plugin
run: |
cd dev.thihup.jvisualg.ide
mvn -Pnative -Dagent exec:exec@java-agent
mvn -Pnative package
- name: Release
uses: ncipollo/release-action@v1
with:
artifacts: "target/JVisualG"
replacesArtifacts: true
tag: JVisualg
token: ${{ secrets.GITHUB_TOKEN }}
allowUpdates: true