!36 feat(main):1.11.14, 为main框架添加log.max_len参数;同时添加/log/max_len终端命令 #211
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: CMake Build and Test | |
| on: | |
| push: | |
| branches: [ master, develop ] | |
| pull_request: | |
| branches: [ master, develop ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Setup | |
| run: | | |
| sudo apt update | |
| sudo apt install build-essential cmake | |
| sudo apt install libgtest-dev libgmock-dev | |
| sudo apt install libmosquitto-dev | |
| sudo apt install libdbus-1-dev | |
| - uses: actions/checkout@v3 | |
| - name: Build | |
| run: cmake -B build && cmake --build build | |
| - name: Test | |
| run: find ./build -name *_test -exec {} \; |