PI code beginning with 'C' doesn't have national linkage #17
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 ] | |
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'` | |
perl-critic: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: install perl-critic | |
run: sudo apt install libtest-perl-critic-perl | |
- name: run perl-critic | |
run: | | |
perl -e "use Test::Perl::Critic (-severity => 3);all_critic_ok('.')" |