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