Skip to content

Commit

Permalink
avoid checking cppcheck dir
Browse files Browse the repository at this point in the history
Signed-off-by: kminoda <[email protected]>
  • Loading branch information
kminoda committed Jun 4, 2024
1 parent 4f10212 commit b05b15c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 6 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/cppcheck-all.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@ jobs:
- name: Install Cppcheck from source
run: |
git clone https://github.com/danmar/cppcheck.git
cd cppcheck
mkdir -p $HOME/cppcheck-install
git clone https://github.com/danmar/cppcheck.git $HOME/cppcheck-source
cd $HOME/cppcheck-source
git checkout 2.14.1
mkdir build
cd build
cmake ..
make -j $(nproc)
sudo make install
make install DESTDIR=$HOME/cppcheck-install
echo "$HOME/cppcheck-install/usr/local/bin" >> $GITHUB_PATH
- name: Run Cppcheck on all files
run: |
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/cppcheck-differential.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ jobs:
- name: Install Cppcheck from source
run: |
git clone https://github.com/danmar/cppcheck.git
cd cppcheck
mkdir -p $HOME/cppcheck-install
git clone https://github.com/danmar/cppcheck.git $HOME/cppcheck-source
cd $HOME/cppcheck-source
git checkout 2.14.1
mkdir build
cd build
cmake ..
make -j $(nproc)
sudo make install
make install DESTDIR=$HOME/cppcheck-install
echo "$HOME/cppcheck-install/usr/local/bin" >> $GITHUB_PATH
- name: Get changed files
id: changed-files
Expand Down

0 comments on commit b05b15c

Please sign in to comment.