Replace MIRTK: Surface creation #29
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: CemrgApp Code Analysis | |
on: [pull_request] | |
jobs: | |
Code-Analysis: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Install missing packages | |
run: | | |
sudo apt update | |
sudo apt install cppcheck -y | |
pip3 install --upgrade setuptools | |
pip3 install pygithub | |
- name: Install Qt | |
run: | | |
sudo pip3 install aqtinstall | |
sudo aqt install --outputdir /Qt 5.12.10 linux desktop -m qtcharts qtnetworkauth qtpurchasing qtdatavis3d qtscript qtvirtualkeyboard qtwebengine qtwebglplugin | |
- name: Clone CemrgApp | |
uses: actions/checkout@v4 | |
- name: Code Analysis | |
env: | |
COMMENT_TITLE: Code Analysis Results | |
PR_NUMBER: ${{ github.event.pull_request.number }} | |
REPORT_PR_CHANGES_ONLY: false | |
GITHUB_TOKEN: ${{ github.token }} | |
run: | | |
cppcheck --enable=warning,style,performance,portability --std=c++14 --language=c++ --force --quiet ${{ github.workspace }}/CemrgApp -I /Qt/5.12.10/gcc_64/include --output-file=analysis.txt | |
python3 ${{ github.workspace }}/.github/code_analysis.py -cc analysis.txt |