Lines Matching +full:python3 +full:- +full:github
1 name: Post-Commit Static Analyzer
9 - 'release/**'
11 - 'clang/**'
12 - 'llvm/**'
13 - '.github/workflows/ci-post-commit-analyzer.yml'
16 - opened
17 - synchronize
18 - reopened
19 - closed
21 - '.github/workflows/ci-post-commit-analyzer.yml'
22 - '.github/workflows/ci-post-commit-analyzer-run.py'
24 - cron: '30 0 * * *'
27 group: >-
28 llvm-project-${{ github.workflow }}-${{ github.event_name == 'pull_request' &&
29 ( github.event.pull_request.number || github.ref) }}
30 cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
33 post-commit-analyzer:
34 if: >-
35 github.repository_owner == 'llvm' &&
36 github.event.action != 'closed'
37 runs-on: ubuntu-22.04
39 image: 'ghcr.io/llvm/ci-ubuntu-22.04:latest'
43 - name: Checkout Source
46 - name: Setup ccache
47 uses: hendrikmuhs/ccache-action@v1
56 # Default to 2G to workaround: https://github.com/hendrikmuhs/ccache-action/issues/174
57 max-size: 2G
58 key: post-commit-analyzer
61 - name: Configure
63 cmake -B build -S llvm -G Ninja \
64 -DLLVM_ENABLE_ASSERTIONS=ON \
65 -DLLVM_ENABLE_PROJECTS=clang \
66 -DLLVM_BUILD_LLVM_DYLIB=ON \
67 -DLLVM_LINK_LLVM_DYLIB=ON \
68 -DCMAKE_CXX_COMPILER=clang++ \
69 -DCMAKE_C_COMPILER=clang \
70 -DCMAKE_CXX_COMPILER_LAUNCHER=sccache \
71 -DCMAKE_C_COMPILER_LAUNCHER=sccache \
72 -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
73 -DLLVM_INCLUDE_TESTS=OFF \
74 -DCLANG_INCLUDE_TESTS=OFF \
75 -DCMAKE_BUILD_TYPE=Release
77 - name: Build
82 ninja -v -C build libLLVM.so libclang.so
85 python3 .github/workflows/ci-post-commit-analyzer-run.py build/compile_commands.json
87 scan-build --generate-index-only build/analyzer-results
89 - name: Upload Results
90 uses: actions/upload-artifact@26f96dfa697d77e81fd5907df203aa23a56210a8 #v4.3.0
93 name: analyzer-results
94 path: 'build/analyzer-results/*'