Skip to content

Commit def347d

Browse files
Fix meson installation in CI
1 parent b37b6db commit def347d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

.github/workflows/main.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,9 @@
5151
fail-fast: false
5252
matrix:
5353
ubuntu_version: [ "20.04", "22.04", "24.04" ]
54+
include:
55+
- ubuntu_version: "24.04"
56+
meson_opts: "-Dpython.install_env=auto"
5457

5558
runs-on: ubuntu-24.04
5659
container:
@@ -65,11 +68,10 @@
6568
apt install -y automake libtool pkg-config libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev
6669
apt install -y libglib2.0-dev libjson-glib-dev gtk-doc-tools libedit-dev libncursesw5-dev
6770
apt install -y libdaemon-dev libjansson-dev python3-pip python3-setuptools libsoup-3.0-dev
68-
apt install -y ninja-build python3-wheel
69-
pip3 install meson
71+
apt install -y ninja-build meson
7072
7173
- name: Generate for Ubuntu 20.04 and above
72-
run: meson --werror build -Dpython.install_env=auto
74+
run: meson --werror build ${{ matrix.meson_opts }}
7375
- name: Compile
7476
run: ninja -C build
7577
- name: Checks

0 commit comments

Comments
 (0)