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 }}
21 CI_EVENT_LABEL_NAME: ${{ github.event.label.name }}
23 echo "$CI_EVENT_LABEL_NAME" | sed -n 's/.*:\(.*\):\(.*\)$/target="\1"/p' | tee --append $GITHUB_OUTPUT
24 echo "$CI_EVENT_LABEL_NAME" | sed -n 's/.*:\(.*\):\(.*\)$/subtarget="\2"/p' | tee --append $GITHUB_OUTPUT
27 name: Build Kernel with external toolchain
32 uses: ./.github/workflows/build.yml
34 target: ${{ needs.set_target.outputs.target }}
35 subtarget: ${{ needs.set_target.outputs.subtarget }}
40 name: Check Kernel patches
45 uses: ./.github/workflows/check-kernel-patches.yml
47 target: ${{ needs.set_target.outputs.target }}
48 subtarget: ${{ needs.set_target.outputs.subtarget }}