Comment by ambicapter
5 months ago
This is fine until your run into differences between your machine and the CI one (or you're writing code for a different architecture than the one you're using), but I agree, this is definitely the first step.
5 months ago
This is fine until your run into differences between your machine and the CI one (or you're writing code for a different architecture than the one you're using), but I agree, this is definitely the first step.
Plot twist, my build.sh invokes nix build and all I have to do on CI is to install nix and setup caching.
Double plot twist, I need to VPN into a remote network and now all the CI network activity goes through the VPN as well, and some of it gets blocked (true story)
Your builds depend on the consistent behavior of remote servers? That sounds like a recipe for disaster.
I agree, but if there's an architecture gap then locally running CI is not gonna help you to bridge it either.