Add analyzer cmake target and Github CI job #2
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
name: Lint | |
on: [push] | |
jobs: | |
analyze: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Sources | |
uses: actions/checkout@v4 | |
- name: Install Dependencies | |
run: sudo apt-get install -y cmake clang-tools ninja-build | |
- name: Configure | |
run: cmake -B build -S . -GNinja | |
- name: Analyze | |
run: cmake --build build --target analyze-check |