Skip to content

Commit 11c3fa1

Browse files
committed
ci: add LTS static analysis
1 parent 05386e3 commit 11c3fa1

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,24 @@ jobs:
334334
- name: Tests
335335
run: make check
336336

337+
static_analysis:
338+
name: Static analysis / Clang 18
339+
runs-on: ubuntu-24.04
340+
timeout-minutes: 30
341+
steps:
342+
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
343+
with:
344+
fetch-depth: 0
345+
persist-credentials: false
346+
- name: Install dependencies
347+
run: |
348+
sudo apt-get update
349+
sudo apt-get install -y clang-18 clang-tools-18 libacl1-dev libattr1-dev liblz4-dev libzstd-dev libxxhash-dev openssl
350+
- name: Configure
351+
run: scan-build-18 ./configure --disable-md2man --with-rrsync
352+
- name: Analyse
353+
run: scan-build-18 --status-bugs make -j2
354+
337355
mixed_versions:
338356
name: Mixed versions
339357
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)