forked from drachtio/drachtio-server
-
Notifications
You must be signed in to change notification settings - Fork 2
25 lines (25 loc) · 824 Bytes
/
Copy pathcppcheck.yml
File metadata and controls
25 lines (25 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
name: Cppcheck Static Analysis
on:
push:
branches: [ main ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
schedule:
- cron: '0 9 * * *' # Daily at 10:00 UTC
jobs:
cppcheck:
name: Cppcheck Static Analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
with:
submodules: recursive
- run: |
sudo apt-get update
sudo apt-get install -y libtool libtool-bin libcurl4-openssl-dev libpcap-dev cppcheck libunwind-dev libgoogle-perftools-dev
- run: |
set -x
# Advisory only: these checks surface style/warning findings in
# pre-existing code, so they report but must not gate merges.
cppcheck --enable=warning,performance,portability,style src/