mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
CICD: Update the MXE Version Used to Build the Windows Version.
This fixes the missing 'Print' functionality in Windows. Signed-off-by: Michael Keller <github@ike.ch>
This commit is contained in:
parent
4f7d567571
commit
a898173ce7
2 changed files with 10 additions and 5 deletions
|
@ -12,8 +12,9 @@ jobs:
|
||||||
windows-mxe:
|
windows-mxe:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
env:
|
env:
|
||||||
VERSION: ${{ '3.3.0' }} # 'official' images should have a dot-zero version
|
VERSION: ${{ '3.4.0' }} # 'official' images should have a dot-zero version
|
||||||
mxe_sha: '974808c2ecb02866764d236fe533ae57ba342e7a'
|
# Fix this here as QTWebKit (needed for printing) is broken in newer versions
|
||||||
|
mxe_sha: 'd6377b2f2334694dbb040294fd0d848327e63328'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
|
@ -1,7 +1,10 @@
|
||||||
# Build the image using the --build-arg option, e.g.:
|
# Build the image using the --build-arg option, e.g.:
|
||||||
# docker build -t boret/myimage:0.1 --build-arg=mxe_sha=123ABC456 .
|
# docker build -t boret/myimage:0.1 --build-arg=mxe_sha=123ABC456 .
|
||||||
|
|
||||||
FROM ubuntu:24.04 as base
|
# We need to stick with 22.04 for now because the latest MXE version
|
||||||
|
# (db430dc676e6f5d77604af150b8acc1403af4fd7) does not build a working
|
||||||
|
# version of QtWebKit, which breaks printing in Subsurface.
|
||||||
|
FROM ubuntu:22.04 as base
|
||||||
|
|
||||||
# update and set up the packages we need for the build
|
# update and set up the packages we need for the build
|
||||||
RUN apt-get update && \
|
RUN apt-get update && \
|
||||||
|
@ -54,8 +57,9 @@ RUN apt-get install -y \
|
||||||
xz-utils \
|
xz-utils \
|
||||||
scons
|
scons
|
||||||
|
|
||||||
# very often master is broken, so we pass in a known good SHA
|
# Default to 'master' if no build argument is passed in
|
||||||
ARG mxe_sha=d6377b2f2334694dbb040294fd0d848327e63328
|
ARG mxe_sha=master
|
||||||
|
# Very often master is broken, so we pass in a known good SHA
|
||||||
ENV _ver=${mxe_sha}
|
ENV _ver=${mxe_sha}
|
||||||
|
|
||||||
WORKDIR /win
|
WORKDIR /win
|
||||||
|
|
Loading…
Add table
Reference in a new issue