mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-15 14:16:14 -06:00
CI: keep old cppcheck job and ignore two files in new job that take too long to check
This commit is contained in:
parent
cfc8547883
commit
53f0b39507
1 changed files with 10 additions and 0 deletions
10
.github/workflows/build-extra.yml
vendored
10
.github/workflows/build-extra.yml
vendored
|
|
@ -55,6 +55,16 @@ jobs:
|
|||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
||||
- name: install cppcheck
|
||||
run: sudo apt-get install cppcheck
|
||||
- name: cppcheck
|
||||
run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance -i src/firejail/checkcfg.c -i src/firejail/main.c .
|
||||
# new cppcheck version currently chokes on checkcfg.c and main.c, therefore scan all files also
|
||||
# with older cppcheck version from ubuntu 20.04.
|
||||
cppcheck_old:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b
|
||||
- name: install cppcheck
|
||||
run: sudo apt-get install cppcheck
|
||||
- name: cppcheck
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue