geode/codegen/Broma/PEGTL-3.2.7/.github/workflows/clang-analyze.yml
2022-07-30 19:24:03 +03:00

30 lines
542 B
YAML
Executable file

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 .