File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Cppcheck
2+
3+ on :
4+ push :
5+ paths-ignore :
6+ - ' **/*.md'
7+ - ' .github/*'
8+ - ' .gitignore'
9+ - ' .editorconfig'
10+ - ' appveyor.yml'
11+ pull_request :
12+ paths-ignore :
13+ - ' **/*.md'
14+ - ' .github/*'
15+ - ' .gitignore'
16+ - ' .editorconfig'
17+ - ' appveyor.yml'
18+ workflow_dispatch :
19+
20+ jobs :
21+ cppcheck :
22+ runs-on : windows-latest
23+ strategy :
24+ matrix :
25+ BuildPlatform : [Win32, x64]
26+ Configuration : [Release]
27+ env :
28+ BuildPlatform : ${{ matrix.BuildPlatform }}
29+ Configuration : ${{ matrix.Configuration }}
30+ steps :
31+ - name : Checkout repository
32+ uses : actions/checkout@v4
33+
34+ - name : Show environment variables for debug
35+ run : set
36+ shell : cmd
37+
38+ - name : Install cppcheck
39+ run : msiexec /i externals\cppcheck\cppcheck-1.84-x64-Setup.msi /quiet /qn /norestart /log cppcheck-install.log
40+ shell : cmd
41+
42+ - name : Run cppcheck
43+ run : run-cppcheck.bat ${{ env.BuildPlatform }} ${{ env.Configuration }}
44+ shell : cmd
45+
46+ - name : Zip files for artifacts
47+ run : zipArtifacts.bat ${{ env.BuildPlatform }} ${{ env.Configuration }}
48+ shell : cmd
49+
50+ - name : Upload cppcheck log artifact
51+ uses : actions/upload-artifact@v4
52+ with :
53+ name : cppcheck_${{ env.BuildPlatform }}_${{ env.Configuration }}
54+ path : ' **Log.zip'
You can’t perform that action at this time.
0 commit comments