removed cpp check

This commit is contained in:
Ben Carter
2024-11-02 02:21:38 -04:00
committed by GitHub
parent 0d639814f0
commit fc56349331

View File

@@ -107,23 +107,23 @@ runs:
restore-keys: |
${{ runner.os }}-cppcheck-
- name: cpp check
if: ${{ inputs.tag_release == 'true' }}
shell: bash
run: |
cppcheck --force --inline-suppr --std=c++20 --output-file=report.txt \
--suppress=*:*lualib/* \
--suppress=*:*LuaEngine/libs/* \
-j $(nproc) --enable=warning \
--cppcheck-build-dir=/home/runner/work/${{ github.repository }}/_cppcheck_cache \
/azerothcore/modules/${{ env.REPO_NAME }}
# - name: cpp check
# if: ${{ inputs.tag_release == 'true' }}
# shell: bash
# run: |
# cppcheck --force --inline-suppr --std=c++20 --output-file=report.txt \
# --suppress=*:*lualib/* \
# --suppress=*:*LuaEngine/libs/* \
# -j $(nproc) --enable=warning \
# --cppcheck-build-dir=/home/runner/work/${{ github.repository }}/_cppcheck_cache \
# /azerothcore/modules/${{ env.REPO_NAME }}
if [ -s report.txt ]; then
echo "Cppcheck found issues:"
cat report.txt
else
echo "No issues found by cppcheck."
fi
# if [ -s report.txt ]; then
# echo "Cppcheck found issues:"
# cat report.txt
# else
# echo "No issues found by cppcheck."
# fi
- name: tag release
if: ${{ inputs.tag_release == 'true' }} && ${{ inputs.event_name == 'push' }}