Skip to content

Commit

Permalink
Add a check about Kokkos reserved macros
Browse files Browse the repository at this point in the history
  • Loading branch information
tpadioleau committed Oct 31, 2024
1 parent 03677c3 commit 192cde3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
clangFormatVersion: 18
- name: Prefer 'if defined' over 'ifdef'
run: if grep -R "ifdef" benchmarks/ examples/ include/ddc/ install_test/ tests/; then exit 1; fi
- name: Find modifications of Kokkos reserved macros
run: if grep -RE "(define|undef) KOKKOS_" benchmarks/ examples/ include/ddc/ install_test/ tests/; then exit 1; fi
- name: Find trailing whitespaces
run: find . -not -path './vendor/*' -type f \( -name '*.[c|h]pp' -o -name 'CMakeLists.txt' -o -name '*.cmake' -o -name '*.md' -o -name '*.py' \) -exec ./bin/trailing_spaces --Werror '{}' '+'
- name: REUSE Compliance Check
Expand Down

0 comments on commit 192cde3

Please sign in to comment.