updated keywords #164
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: Static-Analysis | |
on: | |
workflow_dispatch: | |
push: | |
paths-ignore: | |
- 'check/**' | |
- 'doc/**' | |
- 'examples/**' | |
- 'tools/**' | |
jobs: | |
analize: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Update OS packages list | |
run: | | |
sudo apt-get update -yq | |
- name: Install analyzer | |
run: | | |
sudo apt-get install -y cppcheck python3 | |
mkdir sa_results | |
- name: General checks | |
run: cppcheck --enable=all --inline-suppr --inconclusive --std=c++11 ./src -I ./src/config -I ./src/include --output-file=./sa_results/general.txt --suppress=missingIncludeSystem --suppress=unmatchedSuppression:{} --suppress=unusedFunction:{} | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: Static_Analisys_Results | |
path: sa_results |