aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows/build.yml
diff options
context:
space:
mode:
authorChristian Marangi <ansuelsmth@gmail.com>2022-12-07 14:44:34 +0100
committerChristian Marangi <ansuelsmth@gmail.com>2022-12-16 16:29:36 +0100
commitdcdb0b064a5165ef1958a121228da2e02df3e576 (patch)
treeaebc7471f0c90dfd3d219ea0e3be03ed321ca0f5 /.github/workflows/build.yml
parent819b676af05f74dc2a1e432c3972bae63d7c4495 (diff)
downloadupstream-dcdb0b064a5165ef1958a121228da2e02df3e576.tar.gz
upstream-dcdb0b064a5165ef1958a121228da2e02df3e576.tar.bz2
upstream-dcdb0b064a5165ef1958a121228da2e02df3e576.zip
CI: build: make kernel build configurable
Make kernel build configurable to permit to introduce toolchain testing. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Diffstat (limited to '.github/workflows/build.yml')
-rw-r--r--.github/workflows/build.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 783943badd..42db3669ac 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -14,6 +14,8 @@ on:
type: boolean
build_full:
type: boolean
+ build_kernel:
+ type: boolean
build_all_modules:
type: boolean
build_all_kmods:
@@ -338,11 +340,13 @@ jobs:
run: make toolchain/install -j$(nproc) BUILD_LOG=1 || ret=$? .github/workflows/scripts/show_build_failures.sh
- name: Build Kernel
+ if: inputs.build_kernel == true
shell: su buildbot -c "sh -e {0}"
working-directory: openwrt
run: make target/compile -j$(nproc) BUILD_LOG=1 || ret=$? .github/workflows/scripts/show_build_failures.sh
- name: Build Kernel Kmods
+ if: inputs.build_kernel == true
shell: su buildbot -c "sh -e {0}"
working-directory: openwrt
run: make package/linux/compile -j$(nproc) BUILD_LOG=1 || ret=$? .github/workflows/scripts/show_build_failures.sh