|
| 1 | +name: Kernel build (common defconfigs, many devicetrees) |
| 2 | + |
| 3 | +on: |
| 4 | + on: |
| 5 | + workflow_run: |
| 6 | + workflows: ["Kernel build (changed files)"] |
| 7 | + branches: |
| 8 | + - main |
| 9 | + - rpi-6.1.y |
| 10 | + - rpi-6.6.y |
| 11 | + - rpi-6.12.y |
| 12 | + - staging-rpi/* |
| 13 | + types: |
| 14 | + - completed |
| 15 | + |
| 16 | +jobs: |
| 17 | + build_gcc_arm_zynq_xcomm_adv7511_defconfig: |
| 18 | + if: ${{ github.event.workflow_run.conclusion == 'success' }} |
| 19 | + uses: ./.github/workflows/build.yml |
| 20 | + secrets: inherit |
| 21 | + with: |
| 22 | + CXX: "14" |
| 23 | + CROSS_COMPILE: "arm-suse-linux-gnueabi-" |
| 24 | + ARCH: "arm" |
| 25 | + DEFCONFIG: "zynq_xcomm_adv7511_defconfig" |
| 26 | + AUTO_FROM_RANGE: false |
| 27 | + build_gcc_arm_socfpga_adi_defconfig: |
| 28 | + if: ${{ github.event.workflow_run.conclusion == 'success' }} |
| 29 | + uses: ./.github/workflows/build.yml |
| 30 | + secrets: inherit |
| 31 | + with: |
| 32 | + CXX: "14" |
| 33 | + CROSS_COMPILE: "arm-suse-linux-gnueabi-" |
| 34 | + ARCH: "arm" |
| 35 | + DEFCONFIG: "socfpga_adi_defconfig" |
| 36 | + AUTO_FROM_RANGE: false |
| 37 | + build_gcc_arm_zynq_pluto_defconfig: |
| 38 | + if: ${{ github.event.workflow_run.conclusion == 'success' }} |
| 39 | + uses: ./.github/workflows/build.yml |
| 40 | + secrets: inherit |
| 41 | + with: |
| 42 | + CXX: "14" |
| 43 | + CROSS_COMPILE: "arm-suse-linux-gnueabi-" |
| 44 | + ARCH: "arm" |
| 45 | + DEFCONFIG: "zynq_pluto_defconfig" |
| 46 | + AUTO_FROM_RANGE: false |
| 47 | + build_gcc_arm_zynq_m2k_defconfig: |
| 48 | + if: ${{ github.event.workflow_run.conclusion == 'success' }} |
| 49 | + uses: ./.github/workflows/build.yml |
| 50 | + secrets: inherit |
| 51 | + with: |
| 52 | + CXX: "14" |
| 53 | + CROSS_COMPILE: "arm-suse-linux-gnueabi-" |
| 54 | + ARCH: "arm" |
| 55 | + DEFCONFIG: "zynq_m2k_defconfig" |
| 56 | + AUTO_FROM_RANGE: false |
| 57 | + build_gcc_aarch64_adi_zynqmp_defconfig: |
| 58 | + if: ${{ github.event.workflow_run.conclusion == 'success' }} |
| 59 | + uses: ./.github/workflows/build.yml |
| 60 | + secrets: inherit |
| 61 | + with: |
| 62 | + CXX: "14" |
| 63 | + CROSS_COMPILE: "aarch64-suse-linux-" |
| 64 | + ARCH: "arm64" |
| 65 | + DEFCONFIG: "adi_zynqmp_defconfig" |
| 66 | + AUTO_FROM_RANGE: false |
| 67 | + build_gcc_arm_adi_versal_defconfig: |
| 68 | + if: ${{ github.event.workflow_run.conclusion == 'success' }} |
| 69 | + uses: ./.github/workflows/build.yml |
| 70 | + secrets: inherit |
| 71 | + with: |
| 72 | + CXX: "14" |
| 73 | + CROSS_COMPILE: "arm-suse-linux-gnueabi-" |
| 74 | + ARCH: "arm" |
| 75 | + DEFCONFIG: "adi_versal_defconfig" |
| 76 | + AUTO_FROM_RANGE: false |
| 77 | + many_devicetrees: |
| 78 | + if: ${{ github.event.workflow_run.conclusion == 'success' }} |
| 79 | + uses: ./.github/workflows/many_devicetrees.yml |
| 80 | + secrets: inherit |
| 81 | + with: |
| 82 | + CXX: "14" |
| 83 | + ARCHS: "arm arm64 microblaze nios2" |
| 84 | + DTS_FILES: > |
| 85 | + arch/microblaze/boot/dts/*.dts |
| 86 | + arch/arm/boot/dts/xilinx/zynq-*.dts |
| 87 | + arch/arm/boot/dts/intel/socfpga/socfpga_*.dts |
| 88 | + arch/arm64/boot/dts/xilinx/zynqmp-*.dts |
| 89 | + arch/arm64/boot/dts/xilinx/versal-*.dts |
| 90 | + arch/nios2/boot/dts/*.dts |
| 91 | + assert: |
| 92 | + runs-on: [self-hosted, v1] |
| 93 | + needs: |
| 94 | + - build_gcc_arm_zynq_xcomm_adv7511_defconfig |
| 95 | + - build_gcc_arm_socfpga_adi_defconfig |
| 96 | + - build_gcc_arm_zynq_pluto_defconfig |
| 97 | + - build_gcc_arm_zynq_m2k_defconfig |
| 98 | + - build_gcc_aarch64_adi_zynqmp_defconfig |
| 99 | + - build_gcc_arm_adi_versal_defconfig |
| 100 | + - many_devicetrees |
| 101 | + steps: |
| 102 | + - name: Assert |
| 103 | + env: |
| 104 | + job_warn_build_gcc_arm_zynq_xcomm_adv7511_defconfig: ${{needs.build_gcc_arm_zynq_xcomm_adv7511_defconfig.outputs.warn}} |
| 105 | + job_fail_build_gcc_arm_zynq_xcomm_adv7511_defconfig: ${{needs.build_gcc_arm_zynq_xcomm_adv7511_defconfig.outputs.fail}} |
| 106 | + job_warn_build_gcc_arm_socfpga_adi_defconfig: ${{needs.build_gcc_arm_socfpga_adi_defconfig.outputs.warn}} |
| 107 | + job_fail_build_gcc_arm_socfpga_adi_defconfig: ${{needs.build_gcc_arm_socfpga_adi_defconfig.outputs.fail}} |
| 108 | + job_warn_build_gcc_arm_zynq_pluto_defconfig: ${{needs.build_gcc_arm_zynq_pluto_defconfig.outputs.warn}} |
| 109 | + job_fail_build_gcc_arm_zynq_pluto_defconfig: ${{needs.build_gcc_arm_zynq_pluto_defconfig.outputs.fail}} |
| 110 | + job_warn_build_gcc_arm_zynq_m2k_defconfig: ${{needs.build_gcc_arm_zynq_m2k_defconfig.outputs.warn}} |
| 111 | + job_fail_build_gcc_arm_zynq_m2k_defconfig: ${{needs.build_gcc_arm_zynq_m2k_defconfig.outputs.fail}} |
| 112 | + job_warn_build_gcc_aarch64_adi_zynqmp_defconfig: ${{needs.build_gcc_aarch64_adi_zynqmp_defconfig.outputs.warn}} |
| 113 | + job_fail_build_gcc_aarch64_adi_zynqmp_defconfig: ${{needs.build_gcc_aarch64_adi_zynqmp_defconfig.outputs.fail}} |
| 114 | + job_warn_build_gcc_arm_adi_versal_defconfig: ${{needs.build_gcc_arm_adi_versal_defconfig.outputs.warn}} |
| 115 | + job_fail_build_gcc_arm_adi_versal_defconfig: ${{needs.build_gcc_arm_adi_versal_defconfig.outputs.fail}} |
| 116 | + job_warn_many_devicetrees: ${{needs.many_devicetrees.outputs.warn}} |
| 117 | + job_fail_many_devicetrees: ${{needs.many_devicetrees.outputs.fail}} |
| 118 | + run: | |
| 119 | + curl -s -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" -L -o runner_env.sh \ |
| 120 | + https://raw.githubusercontent.com/${{ github.repository }}/$GITHUB_SHA/ci/runner_env.sh |
| 121 | + source runner_env.sh |
| 122 | + assert_labels |
0 commit comments