clang-tidy #3
Workflow file for this run
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: tidy | |
on: | |
push: | |
branches: [ master, dev ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
clang-tidy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install dependencies | |
run: sudo apt install libsndfile1-dev libliquid-dev nlohmann-json3-dev meson clang-tidy | |
- name: meson setup | |
run: meson setup -Dwerror=true build | |
- name: compile | |
run: cd build && meson compile | |
- name: run clang-tidy | |
run: clang-tidy -p build `find src -name '*.cc' -o -name '*.h'` |