added .pvsconfig to exclude some rules

This commit is contained in:
hathach 2025-10-28 00:16:40 +07:00
parent cc597d5cd5
commit 621123b9b3
No known key found for this signature in database
GPG Key ID: 26FAB84F615C3C52
2 changed files with 2 additions and 1 deletions

1
.PVS-Studio/.pvsconfig Normal file
View File

@ -0,0 +1 @@
//-V::2506,2514

View File

@ -137,7 +137,7 @@ jobs:
mkdir -p build
cmake examples -B build -G Ninja -DBOARD=${{ matrix.board }} -DCMAKE_BUILD_TYPE=MinSizeRel
cmake --build build
pvs-studio-analyzer analyze -f build/compile_commands.json -j --exclude-path hw/mcu/ --exclude-path lib/
pvs-studio-analyzer analyze -R .PVS-Studio/.pvsconfig -f build/compile_commands.json --exclude-path hw/mcu/ --exclude-path lib/ -j
plog-converter -t sarif -o pvs-studio-${{ matrix.board }}.sarif PVS-Studio.log
- name: Upload SARIF