mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Use latest version of cppcheck (2.14.2)
- Run cppcheck on MacOS to use a newer version of cppcheck
This commit is contained in:
parent
ec506daaef
commit
e0c58233ad
15
.github/workflows/ci.yml
vendored
15
.github/workflows/ci.yml
vendored
@ -178,20 +178,21 @@ jobs:
|
|||||||
ctest -C ${{ matrix.configuration }} --output-on-failure
|
ctest -C ${{ matrix.configuration }} --output-on-failure
|
||||||
|
|
||||||
cppcheck:
|
cppcheck:
|
||||||
runs-on: [ubuntu-22.04]
|
runs-on: [macos-14]
|
||||||
steps:
|
steps:
|
||||||
- name: Setup Dependencies
|
- name: Setup Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get update -y -qq
|
brew install autoconf \
|
||||||
sudo apt-get install -y cppcheck
|
automake \
|
||||||
- name: Checkout source
|
libtool \
|
||||||
uses: actions/checkout@v4
|
cppcheck
|
||||||
|
- uses: actions/checkout@v4
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
- name: Configure libModSecurity
|
- name: configure
|
||||||
run: |
|
run: |
|
||||||
./build.sh
|
./build.sh
|
||||||
./configure
|
./configure
|
||||||
- name: Run cppcheck on libModSecurity
|
- name: cppcheck
|
||||||
run: make check-static
|
run: make check-static
|
||||||
|
Loading…
x
Reference in New Issue
Block a user