From: Daan De Meyer Date: Wed, 21 May 2025 10:55:35 +0000 (+0200) Subject: ci: Setup clang-tidy meson env with extra options X-Git-Tag: v258-rc1~499^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91a82e790e14228a2b8921e2361b074202e61029;p=thirdparty%2Fsystemd.git ci: Setup clang-tidy meson env with extra options We want the relevant code to be compiled so that it can be analyzed by clang-tidy. --- diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 5aca56290d2..252ae4eb6a1 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -71,7 +71,7 @@ jobs: fi - name: Configure meson - run: mkosi sandbox -- env CC=clang CXX=clang++ meson setup build + run: mkosi sandbox -- env CC=clang CXX=clang++ meson setup -Dlocalegen-path=/usr/bin/locale-gen -Dcompat-mutable-uid-boundaries=true build - name: Run clang-tidy run: mkosi sandbox -- meson test -C build --suite=clang-tidy --print-errorlogs --no-stdsplit