Add check tests to meson test #858
Workflow file for this run
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: cppcheck | |
on: | |
pull_request: | |
branches: [ main ] | |
permissions: | |
contents: read | |
jobs: | |
cppcheck: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: cppcheck | |
run: | | |
sudo apt-get update -q | |
sudo apt-get install -y cppcheck | |
git submodule update --init --recursive libvmi | |
cppcheck --error-exitcode=1 --force -Ilibvmi --include=libvmi/libvmi/libvmi.h ./src |