by slyzmud on 3/8/17, 10:20 PM with 7 comments
After searching a lot I found that my best option was using a self-hosted CI, but Jenkins, the one I know best, is not an option because of the lack of memory in the Raspberry. So what I did was to create my own CI server in Golang that could run with really low memory usage and I thought it might be very useful for other people. I would relly love to offer it as a service or make it open source.
Would you be interested in a project like this?
by kijiki on 3/9/17, 12:34 AM
Then you just build inside a container normally, and the kernel will run the ARM binaries inside qemu-user, translating the ARM system calls to x86-64.
If you don't control the host (ie, someone else's hosted CI service), you can do some sleazy hacks documented here: https://resin.io/blog/building-arm-containers-on-any-x86-mac...
I've been meaning to try copying a cross-compiler and cross-binutil into the container, to make things faster (no need to binary-translate ARM gcc/ld to x86-64), but without statically linking the compiler/binutils, it turns into a library nightmare. In theory this should be possible with multi-arch, but I haven't invested the time to try to make it go yet.
by abeyer on 3/8/17, 11:19 PM
by billconan on 3/8/17, 10:26 PM
Or get a beefier arm platform, such as the nvidia ones.
implementing from scratch is too much effort.
by rurban on 3/10/17, 12:33 PM
by sheraz on 3/8/17, 10:56 PM