Skip to content

Commit 97f80e4

Browse files
mrc0mmandnotpeelz
authored andcommitted
ci: install newer meson for the CodeQL job
Ubuntu 22.04 (Noble) ships meson 1.3.4 (ATTOW) but we need at least meson 1.4.0, so install a newer version via pip.
1 parent 96f7ac7 commit 97f80e4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

.github/workflows/codeql.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,12 @@ jobs:
3535
sudo apt update
3636
sudo apt build-dep -y policykit-1
3737
# polkit in Ubuntu Jammy (ATTOW) doesn't have the latest build dependencies yet
38-
sudo apt install -y duktape-dev meson
38+
sudo apt install -y duktape-dev python3-pip
39+
40+
# Ubuntu 22.04 ships only meson 1.3.4 (ATTOW), so install a newer one via pip
41+
dpkg-query -W meson && sudo apt remove -y meson
42+
sudo pip3 install 'meson>=1.4.0'
43+
sudo meson --version
3944
4045
- name: Initialize CodeQL
4146
uses: github/codeql-action/init@v3

0 commit comments

Comments
 (0)