Browse Source

fix(CI): Update Wine from 5 to 7 in docker image to fix unit tests

Root cause is unclear, but fixes failures in test_bsu and hangs in
test_smileypack.
reviewable/pr6458/r6
Anthony Bilinski 3 years ago
parent
commit
79feb19d7d
No known key found for this signature in database
GPG Key ID: 2AA8E0DA1B31FB3C
  1. 12
      buildscripts/docker/Dockerfile.windows_builder
  2. 1
      windows/cross-compile/build.sh

12
buildscripts/docker/Dockerfile.windows_builder

@ -41,15 +41,16 @@ RUN dpkg --add-architecture i386 && \ @@ -41,15 +41,16 @@ RUN dpkg --add-architecture i386 && \
texinfo \
unzip \
curl \
gnupg \
yasm \
zip \
g++-mingw-w64-${ARCH//_/-} \
gcc-mingw-w64-${ARCH//_/-} \
gdb-mingw-w64 \
wine \
wine32 \
wine64 && \
apt-get clean && \
gdb-mingw-w64
RUN curl -L --connect-timeout 10 https://dl.winehq.org/wine-builds/winehq.key | apt-key add -
RUN echo "deb https://dl.winehq.org/wine-builds/debian/ bullseye main" >> /etc/apt/sources.list.d/wine.list
RUN apt-get update && apt-get install -y --no-install-recommends wine-stable
RUN apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN update-alternatives --set ${ARCH}-w64-mingw32-gcc /usr/bin/${ARCH}-w64-mingw32-gcc-posix && \
@ -233,4 +234,3 @@ RUN mkdir -p /src/gdb && \ @@ -233,4 +234,3 @@ RUN mkdir -p /src/gdb && \
RUN mkdir -p /qtox
WORKDIR /qtox

1
windows/cross-compile/build.sh

@ -115,6 +115,7 @@ if [[ $RUN_TESTS -ne 0 ]] @@ -115,6 +115,7 @@ if [[ $RUN_TESTS -ne 0 ]]
then
export WINEPATH='/export;/windows/bin'
export CTEST_OUTPUT_ON_FAILURE=1
export PATH="$PATH:/opt/wine-stable/bin"
make test
fi
set -u

Loading…
Cancel
Save