Update README.md #50
Workflow file for this run
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: Build + cppcheck | |
| on: | |
| push: | |
| workflow_dispatch: | |
| jobs: | |
| build-cppcheck: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Checkout repository and submodules | |
| uses: actions/checkout@v2 | |
| with: | |
| submodules: recursive | |
| - name: Install build dependencies | |
| run: sudo apt update && sudo apt install debhelper libusb-1.0-0-dev libpulse-dev cppcheck qt6-base-dev build-essential cmake | |
| - name: Build G19daemon | |
| run: mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_EXPORT_COMPILE_COMMANDS=ON .. && make | |
| - name: CppCheck | |
| run: cppcheck --project=build/compile_commands.json |