]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
ci: Setup clang-tidy meson env with extra options
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Wed, 21 May 2025 10:55:35 +0000 (12:55 +0200)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Sat, 24 May 2025 18:57:05 +0000 (20:57 +0200)
We want the relevant code to be compiled so that it can be analyzed
by clang-tidy.

.github/workflows/linter.yml

index 5aca56290d2d8aa56ad6c626e91c09925f364a41..252ae4eb6a1807239aa4659ae77fb56d18d66de0 100644 (file)
@@ -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