mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 03:52:22 +02:00
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:
parent
b616a6cef1
commit
c637beb522
2
.github/workflows/build.yml
vendored
2
.github/workflows/build.yml
vendored
@ -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
|
||||
|
@ -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 \
|
||||
|
@ -1,2 +0,0 @@
|
||||
[binaries]
|
||||
python3 = 'python3.11'
|
Loading…
Reference in New Issue
Block a user