geode/codegen/Broma/PEGTL-3.2.7/.github/workflows/clang-analyze.yml

31 lines
542 B
YAML
Raw Normal View History

2022-07-30 12:24:03 -04:00
name: clang-analyze
on:
push:
paths-ignore:
- 'README.md'
- 'doc/**'
pull_request:
paths-ignore:
- 'README.md'
- 'doc/**'
jobs:
clang-analyze:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: sudo apt-get update -yq
- run: sudo apt-get install -yq clang-tools
- run: scan-build cmake -E make_directory build
- working-directory: build/
run: scan-build cmake $GITHUB_WORKSPACE
- working-directory: build/
run: scan-build cmake --build .