Skip to content

Commit

Permalink
ci/msys2: double down on running meson through python3.11
Browse files Browse the repository at this point in the history
Run not only scripts inside build system, but also meson itself with
Python 3.11.

Fixes: eb4da34
  • Loading branch information
kasper93 committed Jun 29, 2023
1 parent a61b784 commit 6fecab8
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -255,7 +255,6 @@ jobs:
libjpeg-turbo:p
libplacebo:p
lua51:p
meson:p
ninja:p
pkgconf:p
python3.11:p
Expand All @@ -280,6 +279,7 @@ jobs:
- name: Run meson tests
id: tests
run: |
source ./build/venv/bin/activate
meson test -C build
- name: Print meson test log
Expand Down
4 changes: 3 additions & 1 deletion ci/build-msys2.sh
Original file line number Diff line number Diff line change
@@ -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 \
Expand Down
2 changes: 0 additions & 2 deletions ci/msys2-meson.txt

This file was deleted.

0 comments on commit 6fecab8

Please sign in to comment.