mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-14 20:20:35 +00:00
Add more filters to cpplint CI job
This commit is contained in:
parent
299608c4fc
commit
1f523a113b
3
.github/workflows/main.yml
vendored
3
.github/workflows/main.yml
vendored
@ -62,6 +62,7 @@ jobs:
|
|||||||
- name: check
|
- name: check
|
||||||
run: git diff > clang_tidy.patch && echo -e "if \n [ -s clang_tidy.patch ] \nthen \n echo "clang_tidy not applied:"; echo ""; more clang_tidy.patch; exit 1 \nfi \n" > detect && chmod +x ./detect && ./detect
|
run: git diff > clang_tidy.patch && echo -e "if \n [ -s clang_tidy.patch ] \nthen \n echo "clang_tidy not applied:"; echo ""; more clang_tidy.patch; exit 1 \nfi \n" > detect && chmod +x ./detect && ./detect
|
||||||
|
|
||||||
|
|
||||||
cpplint:
|
cpplint:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
@ -69,7 +70,7 @@ jobs:
|
|||||||
- name: install-dependencies
|
- name: install-dependencies
|
||||||
run: sudo apt-get install python3-pip && sudo pip3 install cpplint
|
run: sudo apt-get install python3-pip && sudo pip3 install cpplint
|
||||||
- name: run checks
|
- name: run checks
|
||||||
run: find ./src/ -iname *.h -o -iname *.cc | xargs cpplint --filter=-,+build/include_what_you_use,+build/printf_format,+readability/constructors,+readability/namespace,+readability/newline,+readability/utf8,+runtime/casting,+runtime/explicit,+runtime/printf,+whitespace/blank_line,+whitespace/comments,+whitespace/tab
|
run: find ./src/ -iname *.h -o -iname *.cc | xargs cpplint --filter=-,+build/class,+build/c++14,+build/deprecated,+build/explicit_make_pair,+build/include_what_you_use,+build/printf_format,+build/storage_class,+readability/constructors,+readability/namespace,+readability/newline,+readability/utf8,+runtime/casting,+runtime/explicit,+runtime/indentation_namespace,+runtime/init,+runtime/invalid_increment,+runtime/member_string_references,+runtime/memset,+runtime/operator,+runtime/printf,+runtime/printf_format,+whitespace/blank_line,+whitespace/comma,+whitespace/comments,+whitespace/empty_conditional_body,+whitespace/end-of-line,+whitespace/ending-newline,+whitespace/semicolon,+whitespace/tab
|
||||||
|
|
||||||
|
|
||||||
volk-gnsssdr-windows:
|
volk-gnsssdr-windows:
|
||||||
|
Loading…
Reference in New Issue
Block a user