Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 1 addition & 11 deletions .github/workflows/cppcheck-premium.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,10 @@ jobs:
persist-credentials: false

- name: Download cppcheckpremium release
if: false
run: |
premium_version=${{ inputs.premium_version }}
if [ -z $premium_version ]; then
premium_version=24.11.0
premium_version=25.8.3
#wget https://files.cppchecksolutions.com/devdrop/cppcheckpremium-$premium_version-amd64.tar.gz -O cppcheckpremium.tar.gz
wget https://files.cppchecksolutions.com/$premium_version/ubuntu-24.04/cppcheckpremium-$premium_version-amd64.tar.gz -O cppcheckpremium.tar.gz
else
Expand All @@ -43,15 +42,6 @@ jobs:
tar xzf cppcheckpremium.tar.gz
mv cppcheckpremium-$premium_version cppcheckpremium

- name: Download cppcheckpremium devdrop
run: |
wget https://files.cppchecksolutions.com/devdrop/cppcheckpremium-devdrop-20250713-amd64.tar.gz -O cppcheckpremium.tar.gz
tar xzvf cppcheckpremium.tar.gz
mv cppcheckpremium-devdrop-20250713 cppcheckpremium
# Overwrite cppcheck binary
make -j$(nproc) CXXOPTS="-Werror -O2" MATCHCOMPILER=yes
cp cppcheck cppcheckpremium/

- name: Generate a license file
run: |
echo cppcheck > cppcheck.lic
Expand Down