[llvm] [workflows] Add post-commit job that periodically runs the clang static analyzer (PR #94106)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sat Jun 1 03:05:52 PDT 2024
================
@@ -0,0 +1,64 @@
+name: Post-Commit Static Analyzer
+
+permissions:
+ contents: read
+
+on:
+ push:
+ branches:
+ - 'release/**'
+ paths:
+ - 'llvm/**'
+ pull_request:
+ paths:
+ - '.github/workflows/ci-post-commit-analyzer.yml'
+ schedule:
+ - cron: '30 0 * * *'
+
+concurrency:
+ group: >-
+ llvm-project-${{ github.workflow }}-${{ github.event_name == 'pull_request' &&
+ ( github.event.pull_request.number || github.ref) }}
+ cancel-in-progress: ${{ startsWith(github.ref, 'refs/pull/') }}
+
+jobs:
+ post-commit-analyzer:
+ if: >-
+ github.repository_owner == 'llvm' &&
+ github.event.action != 'closed'
+ runs-on: ubuntu-22.04
+ steps:
+ - name: Checkout Source
+ uses: actions/checkout at b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
+
+ - name: Install Dependencies
+ run: |
+ sudo apt-get update
+ sudo apt-get install \
+ cmake \
----------------
boomanaiden154 wrote:
Can you use the https://apt.llvm.org so we can specify the exact version of this and use something more recent than whatever Ubuntu 22.04 uses (I think v14?)?
https://github.com/llvm/llvm-project/pull/94106
More information about the llvm-commits
mailing list