From 6ae945fdef3d06dcb189c82909edf702aef627a5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Mon, 11 Nov 2024 15:15:07 +1000 Subject: [PATCH] CI: add a scan-build run to the CI --- .github/workflows/main.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b0fc1d76..bcf46f4a 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -66,6 +66,29 @@ jobs: with: name: tarball path: libwacom-*tar.xz + + ### + # + # scan-build + # + scan-build: + runs-on: ubuntu-24.04 + steps: + - uses: actions/checkout@v4 + # install python so we get pip for meson + - uses: actions/setup-python@v5 + with: + python-version: '3.12' + - uses: ./.github/actions/pkginstall + with: + apt: $UBUNTU_PACKAGES + pip: $PIP_PACKAGES + - name: scan-build + uses: ./.github/actions/meson + with: + meson_skip_test: 1 + ninja_args: scan-build + ### # # valgrind run