ci/msys2: double down on running meson through python3.11

Run not only scripts inside build system, but also meson itself with
Python 3.11.

Fixes: eb4da3400a
This commit is contained in:
Kacper Michajłow 2023-06-28 20:44:34 +02:00 committed by sfan5
parent b616a6cef1
commit c637beb522
3 changed files with 4 additions and 4 deletions

View File

@ -255,7 +255,6 @@ jobs:
libjpeg-turbo:p
libplacebo:p
lua51:p
meson:p
ninja:p
pkgconf:p
python3.11:p
@ -280,6 +279,7 @@ jobs:
- name: Run meson tests
id: tests
run: |
source ./venv/bin/activate
meson test -C build
- name: Print meson test log

View File

@ -1,8 +1,10 @@
#!/bin/sh -e
if [ "$1" = "meson" ]; then
python3.11 -m venv venv
source ./venv/bin/activate
python -m pip install meson
meson setup build \
--native-file=ci/msys2-meson.txt \
-D cdda=enabled \
-D d3d-hwaccel=enabled \
-D d3d11=enabled \

View File

@ -1,2 +0,0 @@
[binaries]
python3 = 'python3.11'