-
Notifications
You must be signed in to change notification settings - Fork 3
Adding Windows OS support #4
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
base: main
Are you sure you want to change the base?
Conversation
@vigoo Please check if I am in right direction - Let me know if I have to change anything :) |
run: | | ||
curl -fsSL https://cli.moonbitlang.com/install/unix.sh | bash -s -- 0.6.19 | ||
echo "$HOME/.moon/bin" >> $GITHUB_PATH | ||
- name: Install moonbit (Windows) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The library's purpose is to embed the moonbit compiler in a way that the users don't have to install it separately (it contains a version of it compiled to WASM, executed on V8). So the CI definitely should not install the moonbit compiler.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I realized it's needed for bundling the core library.
@@ -0,0 +1,4 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these moonbit module definitions added?
lazy_static = "1.5.0" | ||
libc = "0.2.172" | ||
log = "0.4.27" | ||
moonc_wasm = { path = "moonc_wasm" } |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was added with source linking and not as a real dependency because it's a crate belonging to the moonbit project, but they did not publish it to crates.io. If you add it as a dep here, we cannot publish a new version of moonbit-component-generator without first publishing moonc_wasm too, which I don't want to.
Summary
Tests Results:
Cippy:

Cross Tests:
