Skip to content

Commit

Permalink
[ci] split clang-tidy workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
akallabeth committed May 24, 2024
1 parent 4d79cf2 commit 95d8083
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/clang-tidy-post.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Post clang-tidy review comments

on:
workflow_run:
workflows: ["clang-tidy-review"]
types:
- completed

jobs:
permissions:
pull-requests: write

build:
runs-on: ubuntu-latest

steps:
- uses: ZedThree/clang-tidy-review/post@v0.17.0
# lgtm_comment_body, max_comments, and annotations need to be set on the posting workflow in a split setup
with:
lgtm_comment_body: ''
annotations: true
max_comments: 10
4 changes: 1 addition & 3 deletions .github/workflows/clang-tidy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ on:
pull_request:
branches: [ master, stable* ]

permissions:
pull-requests: write

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -16,6 +13,7 @@ jobs:
- uses: ZedThree/clang-tidy-review@v0.17.1
id: review
with:
split_workflow: true
clang_tidy_checks: ''
# List of packages to install
apt_packages: libkrb5-dev,libxkbcommon-dev,libxkbfile-dev,libx11-dev,libwayland-dev,libxrandr-dev,libxi-dev,libxrender-dev,libxext-dev,libxinerama-dev,libxfixes-dev,libxcursor-dev,libxv-dev,libxdamage-dev,libxtst-dev,libcups2-dev,libcairo2-dev,libpcsclite-dev,libasound2-dev,libswscale-dev,libpulse-dev,libavcodec-dev,libavutil-dev,libfuse3-dev,libswresample-dev,libusb-1.0-0-dev,libudev-dev,libdbus-glib-1-dev,libpam0g-dev,uuid-dev,libxml2-dev,libcjson-dev,libsdl2-2.0-0,libsdl2-dev,libsdl2-ttf-dev,libsdl2-image-dev,libsystemd-dev,libwebkit2gtk-4.0-dev,liburiparser-dev,libopus-dev,libwebp-dev,libjpeg-dev,libpng-dev,xsltproc,docbook-xsl,libgsm1-dev,libfaac-dev,libfaad-dev,libsoxr-dev,opencl-c-headers,opencl-headers,ocl-icd-opencl-dev,libssl-dev
Expand Down

0 comments on commit 95d8083

Please sign in to comment.