ensure cppcheck is always the right version (#1843)

This commit is contained in:
Adeeb Shihadeh
2024-01-29 20:19:50 -08:00
committed by GitHub
parent 266d4573b7
commit a5604de24f
2 changed files with 3 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ fi
cd $CPPCHECK_DIR
VERS="2.13.0"
git fetch origin $VERS
git fetch --tags origin $VERS
git checkout $VERS
make clean
#make clean
make MATCHCOMPILTER=yes CXXFLAGS="-O2" -j8

View File

@@ -10,7 +10,7 @@ NC='\033[0m'
: "${CPPCHECK_DIR:=$DIR/cppcheck/}"
# install cppcheck if missing
if [ ! -d $CPPCHECK_DIR ]; then
if [ -z "${SKIP_BUILD}" ]; then
$DIR/install.sh
fi