ci/msys2: re-enable 32-bit builds

The 32-bit builds were disabled, because some packages started
disappearing. MSYS2 is slowly phasing out 32-bit support, but since we
still support it we have to test it somehow. Recent brakage with calling
convention mismatch would be spotted a lot quicker. So enable it, but
with some, not available, packages disabled.

This reverts a56d5c7fa1
This commit is contained in:
Kacper Michajłow 2024-06-06 23:32:46 +02:00
parent f47cbcd439
commit de1c0b5464
2 changed files with 14 additions and 8 deletions

View File

@ -505,7 +505,9 @@ jobs:
fail-fast: false
matrix:
sys:
- clang32
- clang64
- mingw32
- mingw64
- ucrt64
defaults:
@ -524,10 +526,8 @@ jobs:
update: true
install: git
pacboy: >-
angleproject:p
ca-certificates:p
cc:p
diffutils:p
ffmpeg:p
lcms2:p
libarchive:p
@ -541,18 +541,23 @@ jobs:
ninja:p
pkgconf:p
python:p
rst2pdf:p
rubberband:p
shaderc:p
spirv-cross:p
uchardet:p
vapoursynth:p
vulkan-devel:p
- name: Install dependencies
if: ${{ matrix.sys != 'clang32' && matrix.sys != 'mingw32' }}
run: |
pacboy --noconfirm -S {angleproject,rst2pdf,rubberband}:p
- name: Build with meson
id: build
run: |
./ci/build-msys2.sh meson
env:
SYS: ${{ matrix.sys }}
- name: Print meson log
if: ${{ failure() && steps.build.outcome == 'failure' }}

View File

@ -7,20 +7,21 @@ meson setup build \
-D d3d-hwaccel=enabled \
-D d3d11=enabled \
-D dvdnav=enabled \
-D egl-angle-lib=enabled \
-D egl-angle-win32=enabled \
-D jpeg=enabled \
-D lcms2=enabled \
-D libarchive=enabled \
-D libbluray=enabled \
-D libmpv=true \
-D lua=enabled \
-D pdf-build=enabled \
-D rubberband=enabled \
-D shaderc=enabled \
-D spirv-cross=enabled \
-D tests=true \
-D uchardet=enabled \
-D vapoursynth=enabled
if [[ "$SYS" != "clang32" && "$SYS" != "mingw32" ]]; then
meson configure build -D{egl-angle-lib,egl-angle-win32,pdf-build,rubberband}=enabled
fi
meson compile -C build
./build/mpv.com -v --no-config