Skip to content

Commit 27eb2d8

Browse files
committed
Enable smoke testing of the tools
Currently during opkg->apk switch we're seeing a lot of regressions here and there, so lets QA this part a bit to prevent those using the new tools-smoke-test.sh script. Signed-off-by: Petr Štetiar <ynezz@true.cz>
1 parent 53cd7be commit 27eb2d8

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

.github/workflows/reusable_build.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -651,12 +651,36 @@ jobs:
651651
working-directory: openwrt
652652
run: make -j$(nproc) BUILD_LOG=1 || ret=$? .github/workflows/scripts/show_build_failures.sh
653653

654+
- name: Check SDK
655+
if: inputs.build_ib_sdk == true
656+
shell: su buildbot -c "sh -e {0}"
657+
working-directory: openwrt
658+
run: .github/workflows/scripts/tools-smoke-test.sh sdk ${{ inputs.target }} ${{ inputs.subtarget }}
659+
660+
- name: Check ImageBuilder
661+
if: inputs.build_ib_sdk == true
662+
shell: su buildbot -c "sh -e {0}"
663+
working-directory: openwrt
664+
run: .github/workflows/scripts/tools-smoke-test.sh imagebuilder ${{ inputs.target }} ${{ inputs.subtarget }}
665+
666+
- name: Check BPF toolchain
667+
if: inputs.build_bpf_toolchain == true
668+
shell: su buildbot -c "sh -e {0}"
669+
working-directory: openwrt
670+
run: .github/workflows/scripts/tools-smoke-test.sh bpf ${{ inputs.target }} ${{ inputs.subtarget }}
671+
654672
- name: Build external toolchain
655673
if: inputs.build_external_toolchain == true
656674
shell: su buildbot -c "sh -e {0}"
657675
working-directory: openwrt
658676
run: make target/toolchain/compile -j$(nproc) BUILD_LOG=1 || ret=$? .github/workflows/scripts/show_build_failures.sh
659677

678+
- name: Check external toolchain
679+
if: inputs.build_external_toolchain == true
680+
shell: su buildbot -c "sh -e {0}"
681+
working-directory: openwrt
682+
run: .github/workflows/scripts/tools-smoke-test.sh toolchain ${{ inputs.target }} ${{ inputs.subtarget }}
683+
660684
- name: Coverity prepare toolchain
661685
if: inputs.coverity_check_packages != ''
662686
shell: su buildbot -c "sh -e {0}"

0 commit comments

Comments
 (0)