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

1
windows/cross-compile/build.sh

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

Loading…
Cancel
Save