From 1ff9a82e80aa23da247d2c496ae6587c3cb97a7e Mon Sep 17 00:00:00 2001 From: Sirius Bakke Date: Sat, 10 Oct 2020 18:04:24 +0200 Subject: [PATCH] chore: Add w32-mxe Qt 5.15 build --- .github/workflows/w32-mxe.yml | 5 +++++ docker/Dockerfile.mxe_qt-5.15 | 39 +++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 docker/Dockerfile.mxe_qt-5.15 diff --git a/.github/workflows/w32-mxe.yml b/.github/workflows/w32-mxe.yml index bc6745512..2d228e6dc 100644 --- a/.github/workflows/w32-mxe.yml +++ b/.github/workflows/w32-mxe.yml @@ -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", diff --git a/docker/Dockerfile.mxe_qt-5.15 b/docker/Dockerfile.mxe_qt-5.15 new file mode 100644 index 000000000..1f60da90a --- /dev/null +++ b/docker/Dockerfile.mxe_qt-5.15 @@ -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"]