Whenever I need to compile a new version of my cross platform tools, I do it like this :
Copy code to OSX system. Compile and build.
Copy code to Windows virtual machine. Compile and build.
Copy code to Linux 32-bit distribution virtual machine. Compile and build.
Copy code to Linux 64-bit distribution virtual machine. Compile and build.
Upload binaries, executable and OSX app file to web server.
As you might imagine, that is a bit of a faff!! And can be frustrating, especially if you get to the end of even half way through and realise I've forgot to update a form caption or something and so have to repeat it all!
Someone mentioned that if code is on GitHub, the build process can be automated for all three systems using continuous integration.
Question 1 : Is that true, for Lazarus\Freepascal projects?
Question 2 : If so, how is it done?
Question 3 : If it can't be done using Githubs Continous Integration, is there a simpler way?
I realise in the project settings you can change the target CPU and so on, but I've never yet successfully managed to create, for example, a Linux binary on a Windows system. So I've always just done it as stated in the steps above.
Any guidance welcome.