Skip to content

Commit

Permalink
Merge branch 'main' into add_clang_format_check
Browse files Browse the repository at this point in the history
  • Loading branch information
sjsprecious committed Jul 20, 2024
2 parents 5645f0e + 6bc966e commit 6694443
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/clang_format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ jobs:

- name: Format code
run: |
<<<<<<< HEAD
find src -type f \( -name '*.cc' -o -name '*.hh' -o -name '*.h' -o -name '*.cpp' \) -exec clang-format -i --style=file --verbose {} +
=======
find include -type f \( -name '*.hpp' -o -name '*.h' -o -name '*.cuh' -o -name '*.inl' \) -exec clang-format -i --style=file --verbose {} +
find src -type f \( -name '*.cu' -o -name '*.hpp' -o -name '*.h' -o -name '*.cpp' \) -exec clang-format -i --style=file --verbose {} +
find test -type f \( -name '*.hpp' -o -name '*.h' -o -name '*.cpp' -o -name '*.cuh' -o -name '*.cu' \) ! -path 'test/tutorial/*' -exec clang-format -i --style=file --verbose {} +
>>>>>>> main

- name: Check for changes
id: check-changes
Expand Down

0 comments on commit 6694443

Please sign in to comment.