Skip to content

Commit 75cad97

Browse files
committed
Use llvm
1 parent 3f31b24 commit 75cad97

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/patcher-darwin.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,13 @@ jobs:
3737
- name: Checkout repository
3838
uses: actions/checkout@v6.0.2
3939

40+
- name: Install LLVM
41+
run: brew install llvm
42+
4043
- name: Configure CMake
4144
run: cmake -S patcher-darwin -B patcher-darwin/build -DCMAKE_BUILD_TYPE=Debug -DCMAKE_EXPORT_COMPILE_COMMANDS=ON
4245

4346
- name: Run clang-tidy
4447
run: |
4548
find patcher-darwin/src -name '*.cpp' -o -name '*.h' | \
46-
xargs clang-tidy -p patcher-darwin/build
49+
xargs "$(brew --prefix llvm)/bin/clang-tidy" -p patcher-darwin/build

0 commit comments

Comments
 (0)