Skip to content

Commit 202f487

Browse files
authored
ci: Add kernel checkers (#5)
Signed-off-by: Vishal Kumar <viskuma@qti.qualcomm.com>
1 parent 6ba1e48 commit 202f487

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
name: Kernel Checkers
2+
on:
3+
pull_request:
4+
branches:
5+
- qcom-next-staging
6+
7+
jobs:
8+
prepare:
9+
runs-on:
10+
group: GHA-Kernel-SelfHosted-RG
11+
labels: [self-hosted, kernel-prd-u2404-x64-large-od-ephem]
12+
steps:
13+
- name: Checkout PR Code
14+
uses: actions/checkout@v4
15+
with:
16+
fetch-depth: 0
17+
18+
outputs:
19+
kernel_src: ${{ github.workspace }}
20+
base_sha: ${{ github.event.pull_request.base.sha }}
21+
head_sha: ${{ github.event.pull_request.head.sha }}
22+
23+
checker:
24+
needs: prepare
25+
uses: qualcomm-linux/kernel-checkers/.github/workflows/checker.yml@main
26+
with:
27+
check_name: ${{ matrix.check }}
28+
kernel_src: ${{ needs.prepare.outputs.kernel_src }}
29+
base_sha: ${{ needs.prepare.outputs.base_sha }}
30+
head_sha: ${{ needs.prepare.outputs.head_sha }}
31+
32+
strategy:
33+
matrix:
34+
check: [check-uapi-headers, sparse-check, checkpatch,
35+
dt-binding-check, dtb-check]
36+
fail-fast: false

0 commit comments

Comments
 (0)