vi / websocat

Command-line client for WebSockets, like netcat (or curl) for ws:// with advanced socat-like functions
MIT License
7.17k stars 278 forks source link

try a debian arm build #275

Closed akostadinov closed 2 weeks ago

akostadinov commented 2 weeks ago

I remembered that I saw other rust projects having certain issues with musl.

So this is same build just based on debian stable so it compiles with glibc.

And lo! It worked.

If we can use rust 1.63 which is shipped with debian, instead of using rust images, we can also enable RISC-V and other architectures. Because the rust images appear to only have amd64 and arm64.

This is the build in my fork, lets see if it pass again: https://github.com/akostadinov/websocat/actions/runs/11671736530

P.S. I'm fine if you don't want to switch to debian. Just I was curious what was going on and played with it. But I don't have a horse here. Just somehow happy to see other archs picking up, not only x86_64

vi commented 2 weeks ago

Doesn't seem to really work - timed out again.

Maybe it still tries building inside qemu?

akostadinov commented 2 weeks ago

I have no $*&# idea why. It worked for me twice yesterday.

https://github.com/akostadinov/websocat/actions/runs/11671736530

And yes, it still builds within emulation. Just with other libraries. To build outside emulation, there must be a proper cross-compile workflow defined, that I don't really know how to do.

Maybe different projects are routed to different executors and some are broken or idk.

Feel free to disable arm64 again or revert the whole debian PR, as you like. Besides sending a question to github support, I'm really out of ideas.

vi commented 2 weeks ago

Does Github have aarch64 runners, so that one part runs on one machine and the other part on another?

akostadinov commented 2 weeks ago

Last time I looked, they didn't.