Skip to content

Commit 5315f78

Browse files
committed
CI: add check for target DTBs and enable by default
Add check for target DTBs to catch error in target DTS and enable by default. Signed-off-by: Christian Marangi <[email protected]>
1 parent 5613f0d commit 5315f78

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed

.github/workflows/kernel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -164,6 +164,7 @@ jobs:
164164
testing: ${{ matrix.testing != '' }}
165165
build_kernel: true
166166
build_all_kmods: true
167+
build_dtb: true
167168
upload_ccache_cache: ${{ github.repository_owner == 'openwrt' }}
168169
check_packages_list: ${{ needs.determine_changed_packages.outputs.changed_packages }}
169170

.github/workflows/label-kernel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ jobs:
108108
testing: ${{ matrix.testing != '' && true }}
109109
build_kernel: true
110110
build_all_kmods: true
111+
build_dtb: true
111112

112113
check-kernel-patches:
113114
name: Check Kernel patches

.github/workflows/reusable_build.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ on:
3131
type: boolean
3232
build_all_kmods:
3333
type: boolean
34+
build_dtb:
35+
type: boolean
3436
build_all_boards:
3537
type: boolean
3638
use_openwrt_container:
@@ -599,6 +601,12 @@ jobs:
599601
working-directory: openwrt
600602
run: make package/linux/compile -j$(nproc) BUILD_LOG=1 || ret=$? .github/workflows/scripts/show_build_failures.sh
601603

604+
- name: Build DTBs
605+
if: inputs.build_dtb == true
606+
shell: su buildbot -c "sh -e {0}"
607+
working-directory: openwrt
608+
run: make target/linux/dtb -j$(nproc) BUILD_LOG=1 || ret=$? .github/workflows/scripts/show_build_failures.sh
609+
602610
- name: Build everything
603611
if: inputs.build_full == true
604612
shell: su buildbot -c "sh -e {0}"

0 commit comments

Comments
 (0)