diff options
author | Reiner Herrmann <reiner@reiner-h.de> | 2022-07-26 00:13:27 +0200 |
---|---|---|
committer | Reiner Herrmann <reiner@reiner-h.de> | 2022-07-30 10:49:28 +0200 |
commit | 53f0b39507a76021468dd123641603e775270a4b (patch) | |
tree | 62d845b5aa23f37db928ae8b0ef551b3d3b680b7 /.github/workflows/build-extra.yml | |
parent | CI: bump ubuntu to 22.04 and use newer compilers / analyzers (diff) | |
download | firejail-53f0b39507a76021468dd123641603e775270a4b.tar.gz firejail-53f0b39507a76021468dd123641603e775270a4b.tar.zst firejail-53f0b39507a76021468dd123641603e775270a4b.zip |
CI: keep old cppcheck job and ignore two files in new job that take too long to check
Diffstat (limited to '.github/workflows/build-extra.yml')
-rw-r--r-- | .github/workflows/build-extra.yml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/.github/workflows/build-extra.yml b/.github/workflows/build-extra.yml index 9eb489d52..ff812ca32 100644 --- a/.github/workflows/build-extra.yml +++ b/.github/workflows/build-extra.yml | |||
@@ -58,4 +58,14 @@ jobs: | |||
58 | - name: install cppcheck | 58 | - name: install cppcheck |
59 | run: sudo apt-get install cppcheck | 59 | run: sudo apt-get install cppcheck |
60 | - name: cppcheck | 60 | - name: cppcheck |
61 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance -i src/firejail/checkcfg.c -i src/firejail/main.c . | ||
62 | # new cppcheck version currently chokes on checkcfg.c and main.c, therefore scan all files also | ||
63 | # with older cppcheck version from ubuntu 20.04. | ||
64 | cppcheck_old: | ||
65 | runs-on: ubuntu-20.04 | ||
66 | steps: | ||
67 | - uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b | ||
68 | - name: install cppcheck | ||
69 | run: sudo apt-get install cppcheck | ||
70 | - name: cppcheck | ||
61 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . | 71 | run: cppcheck -q --force --error-exitcode=1 --enable=warning,performance . |