Skip to content

Commit

Permalink
Update ClangTidy configuration, update CMake configuration, update CL…
Browse files Browse the repository at this point in the history
…ion configuration, update GitHub Actions configuration, add .gitattributes file, update .editorconfig, fix code according to suggestions by ClangTidy
  • Loading branch information
audio-engineer committed Oct 23, 2023
1 parent b885697 commit d8573ee
Show file tree
Hide file tree
Showing 12 changed files with 294 additions and 9 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ modernize-*,
performance-*,
portability-*,
readability-*'
FormatStyle: file
1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ root = true

[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true

Expand Down
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text=auto
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @audio-engineer
10 changes: 10 additions & 0 deletions .github/workflows/clang-format.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: ClangFormat
on: push
jobs:
ClangFormat:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DoozyX/[email protected]
with:
clangFormatVersion: 16
14 changes: 14 additions & 0 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: ClangTidy
on: pull_request
jobs:
ClangTidy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ZedThree/[email protected]
id: review
with:
config_file: '.clang-tidy'
cmake_command: cmake . -D CMAKE_CXX_COMPILER=clang-16
- if: steps.review.outputs.total_comments > 0
run: exit 1
87 changes: 87 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion .idea/codeStyles/codeStyleConfig.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d8573ee

Please sign in to comment.