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

View File

@ -7,20 +7,21 @@ meson setup build \
-D d3d-hwaccel=enabled \ -D d3d-hwaccel=enabled \
-D d3d11=enabled \ -D d3d11=enabled \
-D dvdnav=enabled \ -D dvdnav=enabled \
-D egl-angle-lib=enabled \
-D egl-angle-win32=enabled \
-D jpeg=enabled \ -D jpeg=enabled \
-D lcms2=enabled \ -D lcms2=enabled \
-D libarchive=enabled \ -D libarchive=enabled \
-D libbluray=enabled \ -D libbluray=enabled \
-D libmpv=true \ -D libmpv=true \
-D lua=enabled \ -D lua=enabled \
-D pdf-build=enabled \
-D rubberband=enabled \
-D shaderc=enabled \ -D shaderc=enabled \
-D spirv-cross=enabled \ -D spirv-cross=enabled \
-D tests=true \ -D tests=true \
-D uchardet=enabled \ -D uchardet=enabled \
-D vapoursynth=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 meson compile -C build
./build/mpv.com -v --no-config ./build/mpv.com -v --no-config