Skip to content
Myr

scanbuild.yml

This file

Path

.github/workflows/scanbuild.yml

47 lines · 1.3 KiB · YAML

Last changed by

build(deps): bump actions/checkout from 6 to 7 in the official-actions group (#3565)dependabot[bot]before adoption34f7186

History of this file

Take it

The walk stopped after 200 commits: lines older than fa6a2ff point at it.

Fix and refactor scan-build workflow to run on the master branch (#3325)itchynybefore adoption4e2ccc4

line 1why, one step back
1name: Clang scan-build Static Analyzer Build

website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff

lines 2–3why, one step back
2
3on:

Fix and refactor scan-build workflow to run on the master branch (#3325)itchynybefore adoption4e2ccc4

lines 4–6why, one step back
4 push:
5 branches:6 - master

website: remove unused root path on building website (#3248)itchynybefore adoptionfa6a2ff

lines 7–8why, one step back
7
8jobs:

Fix and refactor scan-build workflow to run on the master branch (#3325)itchynybefore adoption4e2ccc4

lines 9–12why, one step back
9 scan-build:
10 runs-on: ubuntu-latest11 steps:12 - name: Clone repository

build(deps): bump actions/checkout from 6 to 7 in the official-actions group (#3565)dependabot[bot]before adoption34f7186

line 13why, one step back
13 uses: actions/checkout@v7

Fix and refactor scan-build workflow to run on the master branch (#3325)itchynybefore adoption4e2ccc4

lines 14–41why, one step back
14 with:
15 submodules: true16 - name: Install packages17 run: |18 sudo apt-get update -qq19 sudo apt-get install -y automake autoconf gdb valgrind clang clang-tools20 echo "CC=clang" >> "$GITHUB_ENV"21 - name: Build22 run: |23 autoreconf -i24 ./configure --enable-valgrind CFLAGS="-g -O0"25 scan-build --keep-going --exclude vendor/ make -j"$(nproc)"26 - name: Test27 run: |28 ulimit -c unlimited29 scan-build --keep-going --exclude vendor/ make -j"$(nproc)" check30 - name: Core dump stacks31 run: |32 if [[ -f core ]]; then33 gdb -batch -ex "thread apply all bt" \34 "$(file core | sed "s/^[^']*'//; s/[ '].*$//")" core35 exit 136 fi37 - name: Test logs38 if: ${{ failure() }}39 run: |40 cat test-suite.log tests/*.log41 - name: Upload Logs

build(deps): bump the official-actions group with 3 updates (#3494)dependabot[bot]before adoption36b6ae0

line 42why, one step back
42 uses: actions/upload-artifact@v7

Fix and refactor scan-build workflow to run on the master branch (#3325)itchynybefore adoption4e2ccc4

lines 43–47why, one step back
43 with:
44 name: Scan-Build Reports45 path: /tmp/scan-build*46 if-no-files-found: ignore47 retention-days: 7