mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Use Wine Staging for running Windows tests
This commit is contained in:
parent
c9ed0ae8cd
commit
2a5941c9f9
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue
Block a user