Collaborative build servers

Is there such a thing as a collaborative network of build servers? Let's say you write a native application and you can build it for your own machine's architecture, but you also want to build artifacts for other operating systems or architectures. You don't want to pay for multiple CI/CD servers, so you request time in other people's computers to do the building, and you offer your own computer's time in return so other people can run things on it.

=> 🛰️ lufte

2024-09-22 · 4 months ago · 👍 random2934

6 Comments ↓

=> 🚀 DdlyH · Sep 22 at 20:04:

Sounds like a cool idea, but I haven't heard of something like that existing already?

=> 🚀 random2934 · Sep 23 at 04:42:

it would be security nightmare tbh, I wonder that's why noone has built it already!

=> 🖥️ mrrobinhood5 · Sep 23 at 04:50:

trust is not something that comes around easily nowadays

=> 🦋 CarloMonte · Sep 25 at 10:30:

The Go language offers another elegant solution: super-easy cross-compilation.

=> 🛰️ lufte [OP] · Sep 25 at 14:15:

I tried cross-compilation with rust and it almost worked, but it definitely looks like it's built to support it even if there are some rough edges. Yeah, this is probably the way to go instead of designing a platform which, as many here have pointed out, would most likely be a security nightmare.

=> 🦋 CarloMonte · Sep 26 at 19:41:

@lufte: I think that the target platform is only needed for testing, if the language has good cross-compilation. Even here, Go has advantages. It compiles statically, which means that you don't care about which libraries are installed on the given target system. Probably the specific binary format is not that important. You might need to test on each bus width and endian architecture you target. That might be doable in some sort of emulation.

Proxy Information
Original URL
gemini://bbs.geminispace.org/u/lufte/19838
Status Code
Success (20)
Meta
text/gemini; charset=utf-8
Capsule Response Time
103.881438 milliseconds
Gemini-to-HTML Time
0.924513 milliseconds

This content has been proxied by September (ba2dc).