With the cross-compiler built into Go, it should be possible to only use one build machine for all architectures, hence saving Travis CI resources.
However, as long as we are using come C (currently for the calculation of the ELF size), we need to install a C crosscompiler toolchain, and this is where the usual Linux complexity begins.
The following packages have unmet dependencies:
gcc-aarch64-linux-gnu : Depends: gcc-5-aarch64-linux-gnu (>= 5.3.1-3~)
gcc-arm-linux-gnueabi : Depends: gcc-5-arm-linux-gnueabi (>= 5.3.1-3~)
E: Unable to correct problems, you have held broken packages.
We should definitely revisit this once we do not use any C anymore.
With the cross-compiler built into Go, it should be possible to only use one build machine for all architectures, hence saving Travis CI resources.
However, as long as we are using come C (currently for the calculation of the ELF size), we need to install a C crosscompiler toolchain, and this is where the usual Linux complexity begins.
We should definitely revisit this once we do not use any C anymore.