Merge pull request #84 from Ilia1177/update_reply_handler #31
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-and-check: | |
| 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: format | |
| run: make formator | |
| - name: static checks | |
| run: make tidy | |
| test: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: sudo apt-get update && sudo apt-get install -y clang-12 make | |
| - name: build | |
| run: make -C test | |
| - name: test | |
| run: ./test/test |