|
| 1 | +name: Build the ADI kernel matrix |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: |
| 6 | + - 'staging/**' |
| 7 | + pull_request: |
| 8 | + branches: |
| 9 | + - main |
| 10 | + - master |
| 11 | + - '20[1-9][0-9]_R[1-9]' |
| 12 | + |
| 13 | +jobs: |
| 14 | + checkpatch: |
| 15 | + runs-on: ubuntu-latest |
| 16 | + if: ${{ github.event_name == 'pull_request' }} |
| 17 | + env: |
| 18 | + BUILD_TYPE: checkpatch |
| 19 | + steps: |
| 20 | + - uses: actions/checkout@v2 |
| 21 | + with: |
| 22 | + fetch-depth: 50 |
| 23 | + - name: Run Linux's checkpatch script |
| 24 | + run: ./ci/travis/run-build.sh |
| 25 | + |
| 26 | + check_is_new_adi_driver_dual_licensed: |
| 27 | + runs-on: ubuntu-latest |
| 28 | + env: |
| 29 | + BUILD_TYPE: check_is_new_adi_driver_dual_licensed |
| 30 | + steps: |
| 31 | + - uses: actions/checkout@v2 |
| 32 | + with: |
| 33 | + fetch-depth: 50 |
| 34 | + - name: Check that this is a new ADI driver and is dual-licensed |
| 35 | + run: ./ci/travis/run-build.sh |
| 36 | + |
| 37 | + dtb_build_test: |
| 38 | + runs-on: ubuntu-latest |
| 39 | + env: |
| 40 | + BUILD_TYPE: dtb_build_test |
| 41 | + DTS_FILES: "arch/arm/boot/dts/zynq-*.dts |
| 42 | + arch/arm/boot/dts/socfpga_*.dts |
| 43 | + arch/arm64/boot/dts/xilinx/zynqmp-*.dts |
| 44 | + arch/microblaze/boot/dts/*.dts |
| 45 | + arch/nios2/boot/dts/*.dts" |
| 46 | + steps: |
| 47 | + - uses: actions/checkout@v2 |
| 48 | + - name: Build device-trees |
| 49 | + run: ./ci/travis/run-build.sh |
| 50 | + |
| 51 | + zynq_adi_default: |
| 52 | + runs-on: ubuntu-latest |
| 53 | + steps: |
| 54 | + - uses: actions/checkout@v2 |
| 55 | + - name: Build the Zynq ADI kernel flavour (all ADI drivers) |
| 56 | + env: |
| 57 | + DEFCONFIG: zynq_xcomm_adv7511_defconfig |
| 58 | + ARCH: arm |
| 59 | + IMAGE: uImage |
| 60 | + CHECK_ALL_ADI_DRIVERS_HAVE_BEEN_BUILT: 1 |
| 61 | + run: ./ci/travis/run-build-docker.sh |
| 62 | + |
| 63 | + socfpga_adi_default: |
| 64 | + runs-on: ubuntu-latest |
| 65 | + steps: |
| 66 | + - uses: actions/checkout@v2 |
| 67 | + - name: Build the SoCFPGA ADI kernel flavour (all ADI drivers) |
| 68 | + env: |
| 69 | + DEFCONFIG: socfpga_adi_defconfig |
| 70 | + ARCH: arm |
| 71 | + IMAGE: zImage |
| 72 | + CHECK_ALL_ADI_DRIVERS_HAVE_BEEN_BUILT: 1 |
| 73 | + run: ./ci/travis/run-build-docker.sh |
| 74 | + |
| 75 | + zynqmp_adi_default: |
| 76 | + runs-on: ubuntu-latest |
| 77 | + steps: |
| 78 | + - uses: actions/checkout@v2 |
| 79 | + - name: Build the ZynqMP ADI kernel flavour (all ADI drivers) |
| 80 | + env: |
| 81 | + DEFCONFIG: adi_zynqmp_defconfig |
| 82 | + ARCH: arm64 |
| 83 | + IMAGE: Image |
| 84 | + CHECK_ALL_ADI_DRIVERS_HAVE_BEEN_BUILT: 1 |
| 85 | + run: ./ci/travis/run-build-docker.sh |
| 86 | + |
| 87 | + zynq_pluto: |
| 88 | + runs-on: ubuntu-latest |
| 89 | + steps: |
| 90 | + - uses: actions/checkout@v2 |
| 91 | + - name: Build the ADALM-PLUTO kernel |
| 92 | + env: |
| 93 | + DEFCONFIG: zynq_pluto_defconfig |
| 94 | + ARCH: arm |
| 95 | + IMAGE: uImage |
| 96 | + run: ./ci/travis/run-build-docker.sh |
| 97 | + |
| 98 | + zynq_m2k: |
| 99 | + runs-on: ubuntu-latest |
| 100 | + steps: |
| 101 | + - uses: actions/checkout@v2 |
| 102 | + - name: Build the Zynq ADALM-2000 kernel |
| 103 | + env: |
| 104 | + DEFCONFIG: zynq_m2k_defconfig |
| 105 | + ARCH: arm |
| 106 | + IMAGE: uImage |
| 107 | + run: ./ci/travis/run-build-docker.sh |
0 commit comments