1 # ci:kernel:x86:64 is going to trigger CI kernel check jobs for x86/64 target
3 name: Build kernel and check patches for target specified in labels
11 if: startsWith(github.event.label.name, 'ci:kernel:')
13 runs-on: ubuntu-latest
15 target: ${{ steps.set_target.outputs.target }}
16 subtarget: ${{ steps.set_target.outputs.subtarget }}
22 CI_EVENT_LABEL_NAME: ${{ github.event.label.name }}
24 echo "$CI_EVENT_LABEL_NAME" | sed -n 's/.*:\(.*\):\(.*\)$/target=\1/p' | tee --append $GITHUB_OUTPUT
25 echo "$CI_EVENT_LABEL_NAME" | sed -n 's/.*:\(.*\):\(.*\)$/subtarget=\2/p' | tee --append $GITHUB_OUTPUT
28 name: Build Kernel with external toolchain
34 uses: ./.github/workflows/build.yml
36 container_name: toolchain
37 target: ${{ needs.set_target.outputs.target }}
38 subtarget: ${{ needs.set_target.outputs.subtarget }}
43 name: Check Kernel patches
49 uses: ./.github/workflows/check-kernel-patches.yml
51 target: ${{ needs.set_target.outputs.target }}
52 subtarget: ${{ needs.set_target.outputs.subtarget }}