93cc0506f6
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>
39 lines
774 B
Docker
39 lines
774 B
Docker
FROM fedora:32
|
|
|
|
# Please keep this list sorted alphabetically
|
|
ENV PACKAGES \
|
|
bc \
|
|
bzip2 \
|
|
diffutils \
|
|
findutils \
|
|
gcc \
|
|
gettext \
|
|
git \
|
|
hostname \
|
|
make \
|
|
meson \
|
|
mingw64-bzip2 \
|
|
mingw64-curl \
|
|
mingw64-glib2 \
|
|
mingw64-gmp \
|
|
mingw64-gtk3 \
|
|
mingw64-libjpeg-turbo \
|
|
mingw64-libpng \
|
|
mingw64-libtasn1 \
|
|
mingw64-pixman \
|
|
mingw64-pkg-config \
|
|
perl \
|
|
perl-Test-Harness \
|
|
python3 \
|
|
python3-PyYAML \
|
|
python3-setuptools \
|
|
tar \
|
|
which
|
|
|
|
RUN dnf install -y $PACKAGES
|
|
RUN rpm -q $PACKAGES | sort > /packages.txt
|
|
ENV FEATURES mingw
|
|
|
|
# Specify the cross prefix for this image (see tests/docker/common.rc)
|
|
ENV QEMU_CONFIGURE_OPTS --cross-prefix=x86_64-w64-mingw32- --disable-capstone
|