clj-commons / clj-yaml

YAML encoding and decoding for Clojure
Other
122 stars 26 forks source link

Add Graal native image config and tests #106

Closed lread closed 1 year ago

lread commented 1 year ago

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

borkdude commented 1 year ago

👍 thanks :)

lread commented 1 year ago

thanks for taking a peek! ❤️