Skip to content

Commit

Permalink
install clang-tidy on macos-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
azimafroozeh committed Sep 11, 2024
1 parent 2e08f8a commit fcb2a4a
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@ jobs:
- name: run-clang-format
run: python3 scripts/run-clang-format.py -r example include src benchmark test data/include --exclude include/fls/json/nlohmann

clang_tidy:
runs-on: macos-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Install LLVM with Clang-Tidy
run: |
brew install llvm
- name: Add LLVM to path
run: |
echo "/opt/homebrew/opt/llvm/bin" >> $GITHUB_PATH
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
clang-tidy --version
build:
needs:
- check-format
Expand Down

0 comments on commit fcb2a4a

Please sign in to comment.