-
-
Notifications
You must be signed in to change notification settings - Fork 808
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
Re-add actions to build xmake with cosmocc #6010
Comments
I tried it before, but it still has many problems, such as it will stuck on macos ci and some windows api problems. But I don't have time to solve them recently, so I can only delete it temporarily. If you can solve these problems, you can submit a PR. |
I managed to built xmake in the CI but one of the test fails, I don't know if this is due to cmake or not.
https://github.com/A2va/xmake/blob/cosmocc-ci/.github/workflows/cosmocc.yml |
Is your feature request related to a problem? Please describe.
Previously, a workflow was created to build xmake with cosmocc
https://github.com/xmake-io/xmake/blob/b657911e2b0c34674570368c73c5025eff9d7649/.github/workflows/cosmocc.yml
However, this was not successful as it didn't run, but I noticed that this build was made using macos, so I tried to build it on linux.
First, I just tested that a normal xmake build (without embed) would work
The executable runs fine, then I enabled embed
Again, no problem with the executable, then I copied the file to Windows (the build was done in WSL Ubuntu). And it starts, but with this error:
I suspect this is because Cosmopolitan doesn't implement the Windows API for editing the registry, but those can added if needed (eg: jart/cosmopolitan#1318), or the other solution would be to completely disable this functionality.
Describe the solution you'd like
With this feature the xmake bundle executable which is for now windows only could be extended to other platforms.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: