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 0a574ac commit 55a225e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/CI.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ jobs:
- name: Make directory build
run: mkdir ${{github.workspace}}/build_${{ matrix.build_type }}

- name: Configure CMake
run: cmake -S ${{github.workspace}} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -B ${{github.workspace}}/build_${{ matrix.build_type }}
env:
CXX: ${{ matrix.cxx }}

- name: Install LLVM with Clang-Tidy
run: |
brew install llvm
Expand All @@ -51,6 +46,11 @@ jobs:
export PATH="/opt/homebrew/opt/llvm/bin:$PATH"
clang-tidy --version
- name: Configure CMake
run: cmake -S ${{github.workspace}} -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -B ${{github.workspace}}/build_${{ matrix.build_type }}
env:
CXX: ${{ matrix.cxx }}

- name: Build
run: cmake --build ${{github.workspace}}/build_${{ matrix.build_type }} -j 10

Expand Down

0 comments on commit 55a225e

Please sign in to comment.