chore: Add w32-mxe Qt 5.15 build

This commit is contained in:
Sirius Bakke 2020-10-10 18:04:24 +02:00
parent 0b8b3bb900
commit 1ff9a82e80
2 changed files with 44 additions and 0 deletions

View File

@ -8,6 +8,11 @@ jobs:
strategy:
matrix:
config:
- {
id: "mxe-qt-5.15",
name: "MXE Qt 5.15",
docker_image: "fwbuilder/mxe:qt-5.15"
}
- {
id: "mxe-qt-5.12",
name: "MXE Qt 5.12",

View File

@ -0,0 +1,39 @@
FROM debian:stretch AS builder
RUN apt-get update && apt-get install -y \
autoconf \
automake \
autopoint \
binutils \
bison \
build-essential \
bzip2 \
cmake \
fakeroot \
flex \
git \
make \
gperf \
intltool \
libgdk-pixbuf2.0-dev \
libtool \
libtool-bin \
libssl-dev \
lzip \
python \
python-mako \
p7zip-full \
ruby \
unzip \
wget
WORKDIR /opt
RUN git clone https://github.com/mxe/mxe.git
# Use Qt 5.15.1
RUN cd mxe && git checkout eb26bce6dd1b4b7a79cdbd9011251e6101bed60d -- src/qtbase.mk
RUN cd mxe && make MXE_TARGETS='i686-w64-mingw32.shared' -j$(nproc) qtbase libxml2 libxslt
RUN /opt/mxe/.ccache/bin/ccache -Cz
FROM debian:stretch
RUN apt-get update && apt-get install -y nsis make git ccache
WORKDIR /
COPY --from=builder /opt/mxe /opt/mxe
CMD ["bash"]