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

Generate native image for Windows #1569

Open
olafurpg opened this issue Nov 30, 2019 · 1 comment
Open

Generate native image for Windows #1569

olafurpg opened this issue Nov 30, 2019 · 1 comment

Comments

@olafurpg
Copy link
Member

Currently, our CI generates GraalVM native images for Linux and macOS.

https://github.com/scalameta/scalafmt/blob/master/.github/workflows/native.yml

It would be nice if we also automaticlly generated a native image on Windows. It looks like GraalVM native-image also works on Windows but it requires a custom environment that I haven't been able to reproduce on GitHub Actions. Example https://dev.to/skhmt/creating-a-native-executable-in-windows-with-graalvm-3g7f

@nikololiahim
Copy link

nikololiahim commented May 20, 2022

Hi, @olafurpg! I know this is old and probably not relevant anymore, but I have a recent example that does that: https://github.com/nikololiahim/polystat-cli/blob/master/.github/workflows/release.yml. I have a question: what is necessary to running native-image binaries generated without --static on macos? I don't have a mac, so I can't check it. I have not seen many repositories that do this, so I may want to borrow your setup :)

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

No branches or pull requests

2 participants