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
# Add Wine package repository to use the latest Wine
echo "
# Wine-staging
deb https://dl.winehq.org/wine-builds/debian/ stretch main
" >> /etc/apt/sources.list
curl -o Release.key https://dl.winehq.org/wine-builds/Release.key
apt-key add Release.key
dpkg --add-architecture i386 dpkg --add-architecture i386
apt-get update apt-get update
apt-get install -y \ apt-get install -y \
wine \ wine-staging \
wine32 \ wine-staging-amd64 \
wine64 wine-staging-dbg \
winehq-staging
fi fi
# Clean up to reduce image size # Clean up to reduce image size