Type3 shading dicts #201
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: clang-tidy | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| jobs: | |
| tidy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install Clang 17 | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang-17 clang-tidy-17 | |
| - name: Configure build | |
| run: | | |
| CC=clang-17 CXX=clang++-17 cmake -B build \ | |
| -DCMAKE_BUILD_TYPE=Debug \ | |
| -DCMAKE_EXPORT_COMPILE_COMMANDS=ON | |
| - name: Run clang-tidy | |
| run: | | |
| find . -iname '*.c' | \ | |
| xargs clang-tidy-17 \ | |
| -extra-arg="-UTEST" \ | |
| --config-file=./.clang-tidy \ | |
| -p build |