Elektrine lite

← Feed

@tal@lemmy.today

Post #2441026

2026-01-14 18:07 UTC

Yes. For a single change. Like having an editor with 2 minute save lag, pushing commit using program running on cassette tapes4 or playing chess over snail-mail. It’s 2026 for Pete’s sake, and we5 won’t tolerate this behavior! Now of course, in some Perfect World, GitHub could have a local runner with all the bells and whistles. Or maybe something that would allow me to quickly check for progress upon the push6 or even something like a “scratch commit”, i.e. a way that I could testbed different runs without polluting history of both Git and Action runs. For the love of all that is holy, don’t let GitHub Actions manage your logic. Keep your scripts under your own damn control and just make the Actions call them! I don’t use GitHub Actions and am not familiar with it, but if you’re using it for continuous integration or build stuff, I’d think that it’s probably a good idea to have it decoupled from GitHub anyway, unless you want to be unable to do development without an Internet connection and access to GitHub. I mean, I’d wager that someone out there has already built some kind of system to do this for git projects. If you need some kind of isolated, reproducible environment, maybe Podman or similar, and just have some framework to run it? like macOS builds that would be quite hard to get otherwise Does Rust not do cross-compilation? searches It looks like it can. https://rust-lang.github.io/rustup/cross-compilation.html I guess maybe MacOS CI might be a pain to do locally on a non-MacOS machine. You can’t just freely redistribute MacOS. goes looking Maybe this? https://www.darlinghq.org/ Darling is a translation layer that lets you run macOS software on Linux That sounds a lot like Wine And it is! Wine lets you run Windows software on Linux, and Darling does the same for macOS software. As long as that’s sufficient, I’d think that you could maybe run MacOS CI in Darling in Podman? Podman can run on Linux, MacOS, Windows, and BSD, and if you can run Darling in Podman, I’d think that you’d be able to run MacOS stuff on whatever.

Replies (2)

  • @morriscox@lemmy.world 2026-01-14 22:00

    I sent the Darling link to a brother and suggested that he use it with Parallels… I couldn’t resist.

    Open ##2441032

  • @setsubyou@lemmy.world 2026-01-14 22:20

    You could also just only use Macs. In theory ARM Macs let you build and test for macOS (host or vm), Linux (containers or vm), Windows (vm), iOS (simulator or connected device), and Android (multiple options), both ARM and x86-64. At least in theory. I think in practice I’d go mad. Not from the Linux part though. That part just works because podman on ARM Macs will transparently use emulation for x86 containers by default. (You can get the same thing on Linux too with qemu-user-static btw., for a lot more architectures too.)

    Open ##2660315