mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-27 09:55:34 -05:00
30 lines
542 B
YAML
Executable file
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 .
|