Hi, using what @arturo suggests here; the scripts made for CI is quite straight forwards, although I found some issues.
I used a VM using debian, as I begun this "tutorial" as @jvcleave initially suggests, although I am not sure if this will work on any *nix OS. any clues? I haven't tested running this on OSX without a VM but I guess it could work.
The install script downloads the compiled toolchain but for some reason it wasn't working for me so I re built it with script that builds it. I had to move it from the apothecary folder into a new folder in the ci scripts folder,
run this script from inside its enclosing folder, as it will download and create a lot of files.
Then the build script uses the TARGET var, which is not set in the script itself, so I had to run it like this
and that made it.
the rest that's needed is to copy the compiled app to the raspi, which is covered in this thread.