Add many bugprone checks to clang-tidy config #22
This file contains 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
# This workflow will lint the project using clang-tidy | |
name: Clang-tidy linting | |
on: | |
push: | |
branches: '**' | |
pull_request: | |
branches: '**' | |
jobs: | |
lint: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install build dependencies | |
run: | | |
sudo apt-get update | |
sudo apt-get install --no-install-recommends make pkg-config build-essential | |
sudo apt-get install --no-install-recommends clang-tidy-18 | |
sudo apt-get install --no-install-recommends libglm-dev libglfw3-dev libglew-dev libstb-dev libassimp-dev | |
- name: Run the linting target | |
run: | | |
make lint -j$(nproc) | |
- name: Clean the build area | |
run: | | |
make clean | |
- name: Run the linting target in debug mode | |
run: | | |
DEBUG=true make lint -j$(nproc) |