mirror of
https://github.com/araxiaonline/share-gh-workflows.git
synced 2026-06-13 02:22:20 -04:00
removed cpp check
This commit is contained in:
32
.github/actions/build-tag-release/action.yml
vendored
32
.github/actions/build-tag-release/action.yml
vendored
@@ -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' }}
|
||||
|
||||
Reference in New Issue
Block a user