aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/check-kernel-patches.yml
diff options
context:
space:
mode:
authorHauke Mehrtens <hauke@hauke-m.de>2022-12-03 03:04:40 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2022-12-03 03:10:10 +0100
commitcf361b85097216538dfac5ad7b22050390b0bc67 (patch)
tree2ec35795709446bafa396aa9f2f40ad89d9a6252 /.github/workflows/check-kernel-patches.yml
parent08f5283392674fe874c7f441128319263ce0d171 (diff)
downloadupstream-cf361b85097216538dfac5ad7b22050390b0bc67.tar.gz
upstream-cf361b85097216538dfac5ad7b22050390b0bc67.tar.bz2
upstream-cf361b85097216538dfac5ad7b22050390b0bc67.zip
CI: Build all boards and testing kernel
This adds options to build all boards of a selected target and an additional option to build the testing kernel instead of the normal kernel. This can be used by other trigger work flows. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Diffstat (limited to '.github/workflows/check-kernel-patches.yml')
-rw-r--r--.github/workflows/check-kernel-patches.yml9
1 files changed, 9 insertions, 0 deletions
diff --git a/.github/workflows/check-kernel-patches.yml b/.github/workflows/check-kernel-patches.yml
index 3608b5a3cc..c04cb27b37 100644
--- a/.github/workflows/check-kernel-patches.yml
+++ b/.github/workflows/check-kernel-patches.yml
@@ -6,6 +6,8 @@ on:
target:
required: true
type: string
+ testing:
+ type: boolean
permissions:
contents: read
@@ -58,6 +60,13 @@ jobs:
working-directory: openwrt
run: ./scripts/ext-tools.sh --tools /tools.tar
+ - name: Configure testing kernel
+ if: inputs.testing == true
+ shell: su buildbot -c "sh -e {0}"
+ working-directory: openwrt
+ run: |
+ echo CONFIG_TESTING_KERNEL=y >> .config
+
- name: Configure system
shell: su buildbot -c "sh -e {0}"
working-directory: openwrt