Skip to content

Commit 72c6793

Browse files
tdavidclaserhani
authored andcommitted
[CI] remove useless lines in clang-tidy out (Shamrock-code#1429)
1 parent c5c4666 commit 72c6793

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/shamrock-acpp-clang-tidy.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ jobs:
9999
100100
- name: Run clang-tidy
101101
run: |
102+
export CLANGTIDYBINARY=clang-tidy-${{matrix.clang}}
102103
run-clang-tidy-${{matrix.clang}} \
104+
-clang-tidy-binary ./buildbot/clang-tidy-wrapper.sh \
103105
-p build/clang-tidy.mod \
104106
-use-color \
105107
-config-file .clang-tidy \

buildbot/clang-tidy-wrapper.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#!/bin/bash
2+
set -eo pipefail
3+
4+
# Run clang-tidy, forwarding all script arguments
5+
"$CLANGTIDYBINARY" --quiet "$@" 2>&1 | \
6+
grep -vE '^[0-9]+ warnings? generated\.$'

0 commit comments

Comments
 (0)