mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-04 13:11:09 -05:00
31 lines
542 B
YAML
31 lines
542 B
YAML
|
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 .
|