graalvm

Discuss GraalVM related topics. Use clojure 1.10.2 or newer for all new projects. Contribute to https://github.com/clj-easy/graal-docs and https://github.com/BrunoBonacci/graalvm-clojure. GraalVM slack: https://www.graalvm.org/slack-invitation/.
plexus 2020-05-21T14:55:32.277600Z

For native-image based tools, how do people automate their github releases? (cross compiling, creating release, uploading artifacts...)

borkdude 2020-05-21T15:43:55.278100Z

@plexus Cross compiling isn't a thing in GraalVM. You can check out my GraalVM projects for ideas. I have a bunch of them.

borkdude 2020-05-21T15:45:08.278900Z

fwiw I still create releases manually and upload the artifacts manually, because I also want to post release notes simultaneously.

ghadi 2020-05-21T15:52:01.279700Z

GitHub actions are pretty nice. support mac and windows, too IIRC

ghadi 2020-05-21T15:52:22.280400Z

Might not have enough RAM for Graal NI, dunno

borkdude 2020-05-21T15:53:19.281100Z

I build babashka on Github actions as well as CircleCI. The latter provider had to bump my memory privileges while I can still build on the normal plan with GH.

borkdude 2020-05-21T15:54:21.282Z

For Windows I use AppVeyor although I could use Github actions as well - it's just that Appveyor was first.

plexus 2020-05-21T16:33:12.283400Z

Thanks for the input. I like to automate these things as much as possible, fine if it's scripts that I run locally, but might look into gh actions

2020-05-21T22:11:49.284Z

@plexus Dad is using github actions to automate building native-images and releaseing:slightly_smiling_face: Pushing a new tag is the trigger. https://github.com/liquidz/dad/blob/master/.github/workflows/native_image.yml

2020-05-22T08:23:26.295300Z

there is an action to provision GraalVM for GH actions - https://github.com/marketplace/actions/setup-graalvm-environment

2020-05-22T08:33:15.295600Z

Thanks! I know your github actions, and I have a plan to use them 👍

2020-05-22T08:44:28.295800Z

:thumbsup:

borkdude 2020-05-21T22:25:02.284500Z

@liquidz.uo thanks for sharing, I might borrow that idea one day

👍 1