Skip to content

Merge pull request #356 from pkillarjun/memory-leak #414

Merge pull request #356 from pkillarjun/memory-leak

Merge pull request #356 from pkillarjun/memory-leak #414

name: Run Clang Static Analysis
on:
push:
pull_request:
schedule:
- cron: '3 20 * * SUN'
jobs:
clang-analyzer:
name: Clang static analysis
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: sudo apt install clang-tools libipc-run3-perl
- run: ./bootstrap
- run: scan-build ./configure
env:
CFLAGS: -std=c99 -Wall -Wextra -Werror -Wno-unused-function -Wno-unused-parameter
- run: cd src; scan-build --status-bugs make; cd ..
- run: cd bin; scan-build --status-bugs make; cd ..