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.
This commit is contained in:
Daan De Meyer
2025-05-21 12:55:35 +02:00
parent b4f3a3ad06
commit 91a82e790e

View 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