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 support for unix, webassembly and windows ports #13

Open
mattytrentini opened this issue Aug 23, 2024 · 5 comments
Open

Add support for unix, webassembly and windows ports #13

mattytrentini opened this issue Aug 23, 2024 · 5 comments
Assignees

Comments

@mattytrentini
Copy link
Owner

The unix and webassembly ports are different since they don't have boards. They do, however, have variants - but they're listed differently, as a variants folder.

One way to handle this would be to use the port names as boards:

>mpbuild build unix
>mpbuild build webassembly pyscript
@Josverl
Copy link
Contributor

Josverl commented Aug 23, 2024

Would love this, can you add a Windows build as well as that seems similar to the Unix and Webassembly builds

@mattytrentini
Copy link
Owner Author

I'd like to support Windows builds too, but that'll be a little more challenging since it won't work the same way with container builds. Still, may be possible...

@Josverl
Copy link
Contributor

Josverl commented Aug 23, 2024

If it runs in GHA, it can run in a container,
So it can be a standard dev container with a call to tools/ci.sh

https://github.com/micropython/micropython/blob/master/tools%2Fci.sh#L722-L735

@mattytrentini
Copy link
Owner Author

Oh yes, we can definitely cross-compile to Windows (using mingw) but can't easily support VS/msbuild on Windows itself.

Sure, will add support for that.

@mattytrentini mattytrentini changed the title Add support for unix and webassembly ports Add support for unix, webassembly and windows ports Sep 3, 2024
@mattytrentini
Copy link
Owner Author

Mostly resolved with #30. Still need to add support for the containers for windows/webassembly builds.

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

No branches or pull requests

2 participants