Create multiarch CI jobs
I think it would be interesting to test GJS using architectures other than x86_64. That said, I created the Docker image:
claudioandre/spidermonkey:fedora.aarch64.gcc
Random notes:
- It is a Docker image that runs ARMv8 binaries inside GNOME GitLab x86_64 runners (using QEMU).
- I'm still testing it, but I have already built (inside it) SpiderMonkey, gLib, m4-common, ...
- In theory, I can create images for dozens of architectures.
- But, in practice, we must use ARM and/or PPC64LE.
- I'm thinking basically about ARM 64 (maybe PPC).
- It is 5x-10x slower than bare metal.
- The SpiderMonkey build changed from 20 to 140 minutes.
- The ARMv8 GJS job will take approx 20-30 minutes.
Plans:
- Create a manual job that will build and test an ARMv8 version of GJS.
Basically, it will be:
armv8:
<<: *multiarch
stage: thorough_tests
variables:
IMAGE: "claudioandre/spidermonkey:fedora.aarch64.gcc"
when: manual
Edited by Ghost User