We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0beb3c1 commit 5193be2Copy full SHA for 5193be2
.github/workflows/analyzers.yaml
@@ -36,6 +36,33 @@ jobs:
36
--project=build/compile_commands.json \
37
--error-exitcode=1
38
39
+ cppcheck_mac:
40
+ runs-on: macos-latest
41
+ steps:
42
+ - uses: actions/checkout@v4
43
+
44
+ - name: Install dependencies
45
+ run: |
46
+ brew install cppcheck
47
48
+ - name: Configure
49
50
+ cmake -S . -B build \
51
+ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
52
+ -DBUILD_PYTHON=OFF \
53
+ -DBUILD_TESTING=OFF
54
55
+ - name: Run cppcheck
56
57
+ cppcheck \
58
+ --enable=style,portability,performance,warning \
59
+ --library=posix \
60
+ --library=cppcheck/segyio.cfg \
61
+ --suppressions-list=cppcheck/suppressions.txt \
62
+ --inline-suppr \
63
+ --project=build/compile_commands.json \
64
+ --error-exitcode=1
65
66
scan_build:
67
runs-on: ubuntu-latest
68
steps:
0 commit comments