Skip to content

Commit 96bf087

Browse files
committed
add some lvl2 clazy checks and ignore external libs
1 parent dd1821c commit 96bf087

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/build-linux-clazy.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,11 @@ jobs:
1414
build-linux-clazy:
1515
# This build is only done on one Linux version as it is here only to get the warnings from clazy.
1616
# For other versions see build-linux.yml
17-
runs-on: ubuntu-latest
17+
strategy:
18+
fail-fast: false
19+
matrix:
20+
os: [ubuntu-24.04, ubuntu-22.04]
21+
runs-on: ${{ matrix.os }}
1822
steps:
1923
- uses: actions/checkout@v4
2024
- run: sudo apt update
@@ -29,4 +33,4 @@ jobs:
2933
# ignore noisy dirs from QT files itself
3034
# all level 1 checks but ignore clazy-no-connect-by-name
3135
# no parallel make with clazy to not mess log
32-
- run: export CLAZY_IGNORE_DIRS=.*usr.* && export CLAZY_CHECKS="level1,no-connect-by-name" && make
36+
CLAZY_IGNORE_DIRS=".*usr.*|.*bezier.*|.*boost.*|.*SingleApplication.*|.*spdlog.*|.*zernike.*" && export CLAZY_CHECKS="level1,no-connect-by-name,function-args-by-value,function-args-by-ref,incorrect-emit,old-style-connect" && make

0 commit comments

Comments
 (0)