mirror of
https://gitlab.freedesktop.org/dbus/dbus.git
synced 2026-05-07 12:08:13 +02:00
ci: Teach ci-install.sh to install wine on Debian 9 'stretch'
Signed-off-by: Simon McVittie <smcv@collabora.com>
Bug: https://bugs.freedesktop.org/show_bug.cgi?id=108177
Acked-by: Philip Withnall <withnall@endlessm.com>
(cherry picked from commit 408b222a9f)
This commit is contained in:
parent
900daf5ee4
commit
35fb20a1f4
1 changed files with 15 additions and 3 deletions
|
|
@ -82,12 +82,24 @@ case "$ci_distro" in
|
||||||
# travis-ci has a sources list for Chrome which doesn't support i386
|
# travis-ci has a sources list for Chrome which doesn't support i386
|
||||||
: | $sudo tee /etc/apt/sources.list.d/google-chrome.list
|
: | $sudo tee /etc/apt/sources.list.d/google-chrome.list
|
||||||
|
|
||||||
|
case "$ci_suite" in
|
||||||
|
(trusty)
|
||||||
|
# Ubuntu 14.04 didn't have the wine32, wine64 packages
|
||||||
|
wine32=wine:i386
|
||||||
|
wine64=wine:amd64
|
||||||
|
;;
|
||||||
|
(*)
|
||||||
|
wine32=wine32
|
||||||
|
wine64=wine64
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "$ci_host" in
|
case "$ci_host" in
|
||||||
(i686-w64-mingw32)
|
(i686-w64-mingw32)
|
||||||
$sudo dpkg --add-architecture i386
|
$sudo dpkg --add-architecture i386
|
||||||
;;
|
;;
|
||||||
(x86_64-w64-mingw32)
|
(x86_64-w64-mingw32)
|
||||||
# nothing required, travis-ci is an amd64 system
|
# assume the host or container is x86_64 already
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
@ -98,14 +110,14 @@ case "$ci_distro" in
|
||||||
$sudo apt-get -qq -y install \
|
$sudo apt-get -qq -y install \
|
||||||
binutils-mingw-w64-i686 \
|
binutils-mingw-w64-i686 \
|
||||||
g++-mingw-w64-i686 \
|
g++-mingw-w64-i686 \
|
||||||
wine:i386 \
|
$wine32 \
|
||||||
${NULL}
|
${NULL}
|
||||||
;;
|
;;
|
||||||
(x86_64-w64-mingw32)
|
(x86_64-w64-mingw32)
|
||||||
$sudo apt-get -qq -y install \
|
$sudo apt-get -qq -y install \
|
||||||
binutils-mingw-w64-x86-64\
|
binutils-mingw-w64-x86-64\
|
||||||
g++-mingw-w64-x86-64 \
|
g++-mingw-w64-x86-64 \
|
||||||
wine:amd64 \
|
$wine64 \
|
||||||
${NULL}
|
${NULL}
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue