From 2a5941c9f9c355475fc2a75759d1daedbd77ea97 Mon Sep 17 00:00:00 2001 From: Maxim Biro Date: Sun, 14 Jan 2018 17:23:46 -0500 Subject: Use Wine Staging for running Windows tests --- other/docker/windows/get_packages.sh | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'other') diff --git a/other/docker/windows/get_packages.sh b/other/docker/windows/get_packages.sh index e3fb51f5..6c49a512 100644 --- a/other/docker/windows/get_packages.sh +++ b/other/docker/windows/get_packages.sh @@ -36,15 +36,26 @@ fi # Pacakges needed for running toxcore tests if [ "${SUPPORT_TEST}" = "true" ]; then apt-get install -y \ + apt-transport-https \ curl \ + gnupg \ texinfo - dpkg --add-architecture i386 - apt-get update - apt-get install -y \ - wine \ - wine32 \ - wine64 + # 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 + apt-get update + apt-get install -y \ + wine-staging \ + wine-staging-amd64 \ + wine-staging-dbg \ + winehq-staging fi # Clean up to reduce image size -- cgit v1.2.3