mirror of
https://github.com/FWGS/xash3d-fwgs
synced 2024-11-17 07:27:57 +01:00
Revert "ci: adding pvs-studio checking"
This reverts commit bd4979f5b0
.
This commit is contained in:
parent
2aafe9df9f
commit
81ef12be9e
26
.github/workflows/c-cpp.yml
vendored
26
.github/workflows/c-cpp.yml
vendored
@ -39,8 +39,6 @@ jobs:
|
||||
ANDROID_SDK_TOOLS_VER: 4333796
|
||||
ANDROID_NDK_VER: r10e
|
||||
UPLOADTOOL_ISPRERELEASE: true
|
||||
PVS_URL: https://files.pvs-studio.com/pvs-studio-7.14.50353.142-x86_64.tgz
|
||||
PVS_VERSION: pvs-studio-7.14.50353.142-x86_64
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
@ -70,27 +68,3 @@ jobs:
|
||||
- name: Upload engine (windows)
|
||||
if: matrix.targetos == 'win32'
|
||||
run: bash scripts/continious_upload.sh xash3d-fwgs-win32-${{ matrix.targetarch }}.7z xash3d-fwgs-vc2008-sln-${{ matrix.targetarch }}.7z
|
||||
|
||||
- name: Cache PVS-Studio
|
||||
if: matrix.targetos == 'linux' && matrix.targetarch == 'amd64'
|
||||
id: cache-pvs-studio
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: pvs-studio.tgz
|
||||
key: pvs-studio-key
|
||||
- name: Get PVS-Studio
|
||||
if: matrix.targetos == 'linux' && matrix.targetarch == 'amd64' && steps.cache-pvs-studio.outputs.cache-hit != 'true'
|
||||
run: wget --no-verbose ${{ env.PVS_URL }} -O pvs-studio.tgz
|
||||
|
||||
- name: Static analysis
|
||||
if: matrix.targetos == 'linux' && matrix.targetarch == 'amd64'
|
||||
run: |
|
||||
tar -xvf pvs-studio.tgz && mv ${{ env.PVS_VERSION }} pvs-studio
|
||||
pvs-studio/bin/pvs-studio-analyzer credentials ${{ secrets.PVS_NAME }} ${{ secrets.PVS_KEY }}
|
||||
pvs-studio/bin/pvs-studio-analyzer analyze --file build/compile_commands.json -j3
|
||||
pvs-studio/bin/plog-converter -a GA:1,2 -t sarif -o report.sarif PVS-Studio.log
|
||||
- name: Upload SARIF
|
||||
if: matrix.targetos == 'linux' && matrix.targetarch == 'amd64'
|
||||
uses: github/codeql-action/upload-sarif@v1
|
||||
with:
|
||||
sarif_file: report.sarif
|
||||
|
Loading…
Reference in New Issue
Block a user