Use Wine Staging for running Windows tests

This commit is contained in:
Maxim Biro 2018-01-14 17:23:46 -05:00
parent c9ed0ae8cd
commit 2a5941c9f9

View File

@ -36,15 +36,26 @@ fi
# Pacakges needed for running toxcore tests # Pacakges needed for running toxcore tests
if [ "${SUPPORT_TEST}" = "true" ]; then if [ "${SUPPORT_TEST}" = "true" ]; then
apt-get install -y \ apt-get install -y \
apt-transport-https \
curl \ curl \
gnupg \
texinfo texinfo
dpkg --add-architecture i386 # Add Wine package repository to use the latest Wine
apt-get update echo "
apt-get install -y \ # Wine-staging
wine \ deb https://dl.winehq.org/wine-builds/debian/ stretch main
wine32 \ " >> /etc/apt/sources.list
wine64 curl -o Release.key https://dl.winehq.org/wine-builds/Release.key
apt-key add Release.key
dpkg --add-architecture i386
apt-get update
apt-get install -y \
wine-staging \
wine-staging-amd64 \
wine-staging-dbg \
winehq-staging
fi fi
# Clean up to reduce image size # Clean up to reduce image size