Merge pull request #57 from Ilia1177/featnil #20
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: C/C++ CI | |
| on: | |
| push: | |
| branches: [ "main" , "dev" ] | |
| pull_request: | |
| branches: [ "main" , "dev"] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install analysis tools | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y clang-12 clang-tidy-12 | |
| clang-tidy-12 --version | |
| pip install scan-build | |
| which scan-build | |
| - name: static checks | |
| run: make tidy | |
| - name: format | |
| run: make formator | |
| - name: tidy | |
| run: make tidy |