Enable clang tidy in CI (#314)

* add clang tidy check

* test

* check

* check

* test

* check

* test

* header filter

* fix header filter

* check

* check

* check

* recheck

* re-check

* undo removing ci
This commit is contained in:
Berscheid
2025-10-18 06:33:11 -07:00
committed by GitHub
parent ea845eee91
commit edab682601
4 changed files with 34 additions and 24 deletions

View File

@@ -19,6 +19,11 @@ jobs:
os: ubuntu-22.04
compiler: clang
- name: ubuntu-22.04-clang-tidy
os: ubuntu-22.04
compiler: clang
cmake_vars: "-DINJA_ENABLE_CLANG_TIDY=ON"
- name: ubuntu-22.04-clang-15-no-exceptions
os: ubuntu-22.04
compiler: clang-15
@@ -56,7 +61,7 @@ jobs:
- uses: actions/checkout@v4
- name: Setup Cpp
uses: aminya/setup-cpp@v0.44.0
uses: aminya/setup-cpp@v0.46.1
with:
compiler: ${{ matrix.compiler }}