Skip to content

Commit dc46af5

Browse files
committed
CI: try to use the right compilers
1 parent 0420bc4 commit dc46af5

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/linting.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,11 @@ jobs:
108108
- name: Run clang-tidy
109109
run: |
110110
set -o pipefail
111-
export PATH=$(brew --prefix llvm)/bin:$PATH
111+
LLVM_PREFIX=$(brew --prefix llvm)
112+
export CC=$LLVM_PREFIX/bin/clang
113+
export CXX=$LLVM_PREFIX/bin/clang++
114+
export OBJC=$LLVM_PREFIX/bin/clang
115+
export PATH=$LLVM_PREFIX/bin:$PATH
112116
python tools/run_clang_tidy.py
113117
114118
eslint:

0 commit comments

Comments
 (0)