summaryrefslogtreecommitdiffstats
path: root/ci
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2023-06-25 18:26:06 +0200
committersfan5 <sfan5@live.de>2023-06-26 19:07:18 +0200
commiteb4da3400a1c37eea7b258b00297e8b8fcdd8db4 (patch)
tree06111fc915da3dad7eea9804f9479cde0be7b4ba /ci
parent9921785340e3161a5b5dee0f9792105cfc57054a (diff)
downloadmpv-eb4da3400a1c37eea7b258b00297e8b8fcdd8db4.tar.bz2
mpv-eb4da3400a1c37eea7b258b00297e8b8fcdd8db4.tar.xz
ci/msys2: switch to Python 3.11 to fix crashes during build
There is a long-standing bug with random crashes of Python 3.10 on CI. See: https://github.com/python/cpython/issues/105400 https://github.com/msys2/MINGW-packages/issues/11864 https://github.com/msys2/MINGW-packages/issues/17415
Diffstat (limited to 'ci')
-rwxr-xr-xci/build-msys2.sh1
-rw-r--r--ci/msys2-meson.txt2
2 files changed, 3 insertions, 0 deletions
diff --git a/ci/build-msys2.sh b/ci/build-msys2.sh
index 6073836779..be3fc96dcf 100755
--- a/ci/build-msys2.sh
+++ b/ci/build-msys2.sh
@@ -2,6 +2,7 @@
if [ "$1" = "meson" ]; then
meson setup build \
+ --native-file=ci/msys2-meson.txt \
-D cdda=enabled \
-D d3d-hwaccel=enabled \
-D d3d11=enabled \
diff --git a/ci/msys2-meson.txt b/ci/msys2-meson.txt
new file mode 100644
index 0000000000..123131165e
--- /dev/null
+++ b/ci/msys2-meson.txt
@@ -0,0 +1,2 @@
+[binaries]
+python3 = 'python3.11'