Skip to content

Commit 6ae945f

Browse files
committed
CI: add a scan-build run to the CI
1 parent 98c9ccb commit 6ae945f

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,29 @@ jobs:
6666
with:
6767
name: tarball
6868
path: libwacom-*tar.xz
69+
70+
###
71+
#
72+
# scan-build
73+
#
74+
scan-build:
75+
runs-on: ubuntu-24.04
76+
steps:
77+
- uses: actions/checkout@v4
78+
# install python so we get pip for meson
79+
- uses: actions/setup-python@v5
80+
with:
81+
python-version: '3.12'
82+
- uses: ./.github/actions/pkginstall
83+
with:
84+
apt: $UBUNTU_PACKAGES
85+
pip: $PIP_PACKAGES
86+
- name: scan-build
87+
uses: ./.github/actions/meson
88+
with:
89+
meson_skip_test: 1
90+
ninja_args: scan-build
91+
6992
###
7093
#
7194
# valgrind run

0 commit comments

Comments
 (0)