.gitlab-ci/windows.yml: Don't install libusb or spice packages on 32-bit
commit8e31b744fdf2c5d933681e4128acee72a83af4b8
authorPeter Maydell <peter.maydell@linaro.org>
Thu, 15 Feb 2024 15:50:09 +0000 (15 15:50 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 16 Feb 2024 11:05:04 +0000 (16 11:05 +0000)
treefb7e3e6b6731d732ce6f413256ec3b52fdec1bf4
parent3ff11e4dcabe2b5b4c26e49d741018ec326f127f
.gitlab-ci/windows.yml: Don't install libusb or spice packages on 32-bit

When msys2 updated their libusb packages to libusb 1.0.27, they
dropped support for building them for mingw32, leaving only mingw64
packages.  This broke our CI job, as the 'pacman' package install now
fails with:

error: target not found: mingw-w64-i686-libusb
error: target not found: mingw-w64-i686-usbredir

(both these binary packages are from the libusb source package).

Similarly, spice is now 64-bit only:
error: target not found: mingw-w64-i686-spice

Fix this by dropping these packages from the list we install for our
msys2-32bit build.  We do this with a simple mechanism for the
msys2-64bit and msys2-32bit jobs to specify a list of extra packages
to install on top of the common ones we install for both jobs.

Cc: qemu-stable@nongnu.org
Resolves: https://gitlab.com/qemu-project/qemu/-/issues/2160
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Michael Tokarev <mjt@tls.msk.ru>
Message-id: 20240215155009.2422335-1-peter.maydell@linaro.org
.gitlab-ci.d/windows.yml