Skip to content

Commit e069cb7

Browse files
committed
CI: fix ubuntu 24.04 python package install of meson
1 parent 1dc6e75 commit e069cb7

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/android.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,11 @@ jobs:
2525
with:
2626
fetch-depth: "0"
2727

28+
# NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything!
2829
- name: Setup Meson
2930
run: |
3031
python -m pip install --upgrade pip
31-
pip install meson
32+
pip install meson --break-system-packages
3233
3334
- name: Setup ninja
3435
run: |

.github/workflows/cpp-linter.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,11 @@ jobs:
1414
steps:
1515
- uses: actions/checkout@v4
1616

17+
# NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything!
1718
- name: Setup Meson
1819
run: |
1920
python -m pip install --upgrade pip
20-
pip install meson
21+
pip install meson --break-system-packages
2122
2223
- name: Setup Clang
2324
uses: egor-tensin/setup-clang@v1

.github/workflows/meson.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,11 +161,12 @@ jobs:
161161
brew update
162162
brew install meson
163163
164+
# NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything!
164165
- name: Setup meson
165166
if: matrix.config.os != 'macos'
166167
run: |
167168
python -m pip install --upgrade pip
168-
pip install meson
169+
pip install meson --break-system-packages
169170
170171
- name: Install dependencies (Linux)
171172
if: matrix.config.os == 'ubuntu'

.github/workflows/test.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,10 +24,11 @@ jobs:
2424
echo "CC=clang-18" >> "$GITHUB_ENV"
2525
echo "CXX=clang++-18" >> "$GITHUB_ENV"
2626
27+
# NOTE: meson has no dependencies, so --break-system-packages doesn't really break anything!
2728
- name: Setup meson
2829
run: |
2930
python -m pip install --upgrade pip
30-
pip install meson
31+
pip install meson --break-system-packages
3132
3233
- name: Install dependencies
3334
run: |

0 commit comments

Comments
 (0)