Skip to content

[WIP] build: Add GraalVM Native Image support & CI pipeline#4030

Open
lynx009 wants to merge 4 commits intomasterfrom
build/graalvm-native-support
Open

[WIP] build: Add GraalVM Native Image support & CI pipeline#4030
lynx009 wants to merge 4 commits intomasterfrom
build/graalvm-native-support

Conversation

@lynx009
Copy link
Contributor

@lynx009 lynx009 commented Feb 16, 2026

Summary

This PR introduces support for GraalVM Native Image building to the project.
The goal is to enable compiling the Java application into a standalone native executable, which will significantly improve startup time and reduce memory footprint.

Current status: Work In Progress (WIP).

  • Initial GraalVM configuration added.
  • Local build verification.
  • CI/CD pipeline integration (Pending).

Key Changes

  • Added GraalVM Native Build tools/plugins to pom.xml.
  • Added necessary metadata/configuration files for native compilation.
  • (Upcoming): GitHub Actions/GitLab CI workflow for automated native builds.

Task List (Track Progress)

  • Config: Add native image dependencies and build plugins.
  • Verify: Successfully build native image locally (mvn -Pnative package or similar).
  • CI: Create CI/CD workflow to automate the native build process.
  • Test: Verify the native executable runs correctly in the CI environment.

Notes for Reviewers

This is a draft PR to track the implementation of Native Image support.
Please note that the CI configuration is currently missing and will be added in subsequent commits.
I am currently debugging the local native build process.

Summary

This PR introduces support for GraalVM Native Image building to the project.
The goal is to enable compiling the Java application into a standalone native executable, which will significantly improve startup time and reduce memory footprint.

Current status: Work In Progress (WIP).

  • Initial GraalVM configuration added.
  • Local build verification.
  • CI/CD pipeline integration (Pending).

Key Changes

  • Added GraalVM Native Build tools/plugins to pom.xml / build.gradle.
  • Added necessary metadata/configuration files (e.g., reflect-config.json) for native compilation.
  • (Upcoming): GitHub Actions/GitLab CI workflow for automated native builds.

Task List (Track Progress)

  • Config: Add native image dependencies and build plugins.
  • Verify: Successfully build native image locally (mvn -Pnative package or similar).
  • CI: Create CI/CD workflow to automate the native build process.
  • Test: Verify the native executable runs correctly in the CI environment.

Notes for Reviewers

This is a draft PR to track the implementation of Native Image support.
Please note that the CI configuration is currently missing and will be added in subsequent commits.
I am currently debugging the local native build process.

Related Issues

  • Fixes #(If there is an issue number written here)

Introduces necessary plugins and config files for GraalVM.
Pending: Local verification and CI integration.
@github-actions github-actions bot removed the webapp label Feb 16, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant