Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Graal native image config and tests #106

Merged
merged 2 commits into from
Aug 11, 2023

Conversation

lread
Copy link
Collaborator

@lread lread commented Aug 11, 2023

The clj-yaml jar now includes the necessary native-image config for GraalVM's native-image. This config is picked up automatically by GraalVM native-image and frees up native-image users from having to figure out and specify this config.

We now have a babashka test-native task that verifies that clj-yaml does in fact work when compiled with GraalVM native-image. We natively compile our full test suite.

The native image is built against a locally built clj-yaml jar file instead of local sources. This verifies that our native image config within our jar is picked up.

Closes #104

The clj-yaml jar now includes the necessary native-image config
for GraalVM's `native-image`. This config is picked up automatically by
GraalVM `native-image` and frees up native-image users from having to
figure out and specify this config.

We now have a babashka `test-native` task that verifies that clj-yaml
does in fact work when compiled with GraalVM `native-image`. We natively
compile our full test suite.

The native image is built against a locally built clj-yaml jar file
instead of local sources. This verifies that our native image config
within our jar is picked up.
@borkdude borkdude merged commit f81b2bc into master Aug 11, 2023
17 checks passed
@borkdude borkdude deleted the lread-graal-config-and-tests branch August 11, 2023 10:13
@borkdude
Copy link
Collaborator

👍 thanks :)

@lread
Copy link
Collaborator Author

lread commented Aug 11, 2023

thanks for taking a peek! ❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make it easier for folks to include clj-yaml in a GraalVM native image
2 participants