Skip to content

Commit 733dc82

Browse files
ynezzteknoraver
authored andcommitted
ci: add single-kernel smoke test
In some cases it might be handy to quickly smoke test certain types of changes, where it usually doesn't make sense to build everything. So lets introduce a workflow which can build a kernel for single mediatek/filogic subtarget. References: openwrt#16784 Signed-off-by: Petr Štetiar <ynezz@true.cz>
1 parent 4519022 commit 733dc82

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed
Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
name: Build single mediatek/filogic kernel
2+
3+
on:
4+
pull_request:
5+
paths:
6+
- 'include/**'
7+
- 'scripts/download.pl'
8+
push:
9+
paths:
10+
- 'include/**'
11+
- 'scripts/download.pl'
12+
branches-ignore:
13+
- master
14+
- main
15+
16+
permissions:
17+
contents: read
18+
19+
concurrency:
20+
group: ${{ github.workflow }}-${{ github.ref }}
21+
cancel-in-progress: ${{ github.event_name == 'pull_request' }}
22+
23+
jobs:
24+
build-kernel:
25+
name: Build single mediatek/filogic kernel
26+
permissions:
27+
contents: read
28+
packages: read
29+
actions: write
30+
uses: openwrt/actions-shared-workflows/.github/workflows/label-kernel.yml@main
31+
with:
32+
target: mediatek
33+
subtarget: filogic

0 commit comments

Comments
 (0)