3 ms·
And how exactly do you test the cross-compiled bits before pushing them to a production server?
by paxys 5y ago
And how exactly do you test the cross-compiled bits before pushing them to a production server?
- jolux 5y agoYou should already be using continuous integration, so it should already be moot.
- paxys 5y agoContinuous integration also needs a server to run on. The point is, if you have a dev laptop running M1 ARM and a prod server running Intel x86, you need something in the middle to build/test on unless you want to cross-compile on your laptop and yeet it to production.
- throwawaylinux 5y agoQEMU with TCG can do wonders. It's not perfect but it's surprisingly fast and emulates a good amount of instructions, can do SMP, etc.
- pabs3 5y agoPerhaps on a staging server?
- catlifeonmars 5y agoEasy: push it to a preproduction server first.
- ungamedplayer 5y agoBoot in qemu, or have a test instance.