Skip to content

Commit

Permalink
Use clang when configuring clang-tidy
Browse files Browse the repository at this point in the history
  • Loading branch information
seanmiddleditch committed Jan 14, 2024
1 parent 3135222 commit a480de3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
name: Tidy

env:
CXX: clang++
BUILD_TYPE: RELEASE
CLANG_TIDY: clang-tidy-11

Expand All @@ -23,8 +24,6 @@ jobs:
run: sudo apt-get install -y ${{ env.CLANG_TIDY }}

- name: Configure
env:
CXX: ${{ matrix.compiler }}
run: cmake -B ${{ github.workspace }}/build -DCMAKE_BUILD_TYPE=${{ matrix.config }} -DCMAKE_EXPORT_COMPILE_COMMANDS:BOOL=ON

- name: Tidy
Expand Down

0 comments on commit a480de3

Please sign in to comment.