File: clang-analyzer.yml

package info (click to toggle)
python-maxminddb 2.8.2-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,580 kB
  • sloc: ansic: 7,251; python: 1,520; perl: 987; makefile: 273; sh: 191
file content (21 lines) | stat: -rw-r--r-- 619 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
        with:
          persist-credentials: false
      - 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 ..