Skip to content

Commit 4c87f6b

Browse files
[ci] Prevent clang-tidy regression
1 parent 5f1c41c commit 4c87f6b

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

.github/workflows/style-check.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
git fetch origin ${{ github.event.pull_request.base.sha }}
1515
git clang-format --diff ${{ github.event.pull_request.base.sha }} | tee diff.patch
1616
! grep -q '^diff ' diff.patch
17+
1718
inlining-check:
1819
runs-on: ubuntu-latest
1920
name: Check inline keyword usage
@@ -22,3 +23,10 @@ jobs:
2223
- run: sudo apt install clang-tools
2324
- run: sh ./test/check_inline_specifier.sh .
2425

26+
clang-tidy-check:
27+
name: Clang-tidy check (x86_64)
28+
runs-on: ubuntu-latest
29+
steps:
30+
- uses: actions/checkout@v6
31+
- run: sudo apt install clang-tidy
32+
- run: clang-tidy --checks='-*,modernize-type-traits' include/xsimd/xsimd.hpp --header-filter='.*' --extra-arg-before=-std=c++14 --extra-arg-before='-Iinclude' --extra-arg-before='-march=tigerlake'

0 commit comments

Comments
 (0)