gitlab-ci: Add cross-compiling build tests
commit6bcb5fc0f7a543320fbfaabbb3ffe4a9db241222
authorThomas Huth <thuth@redhat.com>
Fri, 31 Jul 2020 06:38:23 +0000 (31 08:38 +0200)
committerThomas Huth <thuth@redhat.com>
Mon, 7 Sep 2020 10:34:17 +0000 (7 12:34 +0200)
tree756782798687aa60d48c050c06938de55480bb4f
parent8c2787629eee73ca8ce4f100cff4f4946583b4e8
gitlab-ci: Add cross-compiling build tests

Now that we can use all our QEMU test containers in the gitlab-CI, we can
easily add some jobs that test cross-compilation for various architectures.
There is just only small ugliness: Since the shared runners on gitlab.com
are single-threaded, we have to split each compilation job into two parts
(--disable-user and --disable-system), and exclude some additional targets,
to avoid that the jobs are running too long and hitting the timeout of 1 h.

Message-Id: <20200823111757.72002-8-thuth@redhat.com>
Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Thomas Huth <thuth@redhat.com>
.gitlab-ci.d/crossbuilds.yml [new file with mode: 0644]
.gitlab-ci.yml
MAINTAINERS