tests/docker: Use Fedora containers for MinGW cross-builds in the gitlab-CI
commit93cc0506f6c0f42e959cd94b627b8d737eecedec
authorThomas Huth <thuth@redhat.com>
Fri, 25 Sep 2020 15:40:21 +0000 (25 16:40 +0100)
committerAlex Bennée <alex.bennee@linaro.org>
Fri, 2 Oct 2020 11:29:02 +0000 (2 12:29 +0100)
tree751fcea6ec2e9a582eb9abdc890015dda02cde3f
parentf4d830c8951b4615db3d558ddeb6ec000c61cac0
tests/docker: Use Fedora containers for MinGW cross-builds in the gitlab-CI

According to our support policy, we do not support Debian 9 in QEMU
anymore, and we only support building the Windows binaries with a
very recent version of the MinGW toolchain. So we should not test
the MinGW cross-compilation with Debian 9 anymore, but switch to
something newer like Fedora. To do this, we need a separate Fedora
container for each build that provides the QEMU_CONFIGURE_OPTS
environment variable.
Unfortunately, the MinGW 64-bit compiler seems to be a little bit
slow, so we also have to disable some features like "capstone" in the
build here to make sure that the CI pipelines still finish within a
reasonable amount of time.

Signed-off-by: Thomas Huth <thuth@redhat.com>
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Message-Id: <20200921174320.46062-2-thuth@redhat.com>
Message-Id: <20200925154027.12672-10-alex.bennee@linaro.org>
.gitlab-ci.d/containers.yml
.gitlab-ci.d/crossbuilds.yml
tests/docker/dockerfiles/fedora-win32-cross.docker [new file with mode: 0644]
tests/docker/dockerfiles/fedora-win64-cross.docker [new file with mode: 0644]