summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/ci/build.yml
blob: 8eb56ebcf4aa728874dcb086baf0f82faddc9180 (plain)
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
.build:
  extends:
    - .container+build-rules
  stage: build-only
  artifacts:
    paths:
      - artifacts
  script:
    - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build.sh

.build:arm32:
  extends:
    - .build
    - .use-debian/arm64_build
  tags:
    - aarch64
  variables:
    DEFCONFIG: "arch/arm/configs/multi_v7_defconfig"
    KERNEL_IMAGE_NAME: "zImage"
    KERNEL_ARCH: "arm"

.build:arm64:
  extends:
    - .build
    - .use-debian/arm64_build
  tags:
    - aarch64
  variables:
    DEFCONFIG: "arch/arm64/configs/defconfig"
    KERNEL_IMAGE_NAME: "Image"
    KERNEL_ARCH: "arm64"

.build:x86_64:
  extends:
    - .build
    - .use-debian/x86_64_build
  variables:
    DEFCONFIG: "arch/x86/configs/x86_64_defconfig"
    KERNEL_IMAGE_NAME: "bzImage"
    KERNEL_ARCH: "x86_64"


# Build IGT for testing on devices

igt:arm32:
  extends: .build:arm32
  script:
    - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh

igt:arm64:
  extends: .build:arm64
  script:
    - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh

igt:x86_64:
  extends: .build:x86_64
  script:
    - FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash drivers/gpu/drm/ci/build-igt.sh

# Build kernels for testing on devices

testing:arm32:
  extends: .build:arm32
  variables:
    # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
    # PROVE_LOCKING and KASAN as of 5.17.
    #
    # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
    # becoming too big for their bootloaders.
    ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT DEBUG_WW_MUTEX_SLOWPATH"
    UPLOAD_TO_MINIO: 1
    MERGE_FRAGMENT: arm.config

testing:arm64:
  extends: .build:arm64
  variables:
    # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
    # PROVE_LOCKING and KASAN as of 5.17.
    #
    # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
    # becoming too big for their bootloaders.
    ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT DEBUG_WW_MUTEX_SLOWPATH"
    UPLOAD_TO_MINIO: 1
    MERGE_FRAGMENT: arm64.config

testing:x86_64:
  extends: .build:x86_64
  variables:
    # Would be good to have DEBUG_KMEMLEAK, but it doesn't work well with any of
    # PROVE_LOCKING and KASAN as of 5.17.
    #
    # db410c and db820c don't boot with KASAN_INLINE, probably due to the kernel
    # becoming too big for their bootloaders.
    ENABLE_KCONFIGS: "PROVE_LOCKING DEBUG_INFO_DWARF_TOOLCHAIN_DEFAULT DEBUG_WW_MUTEX_SLOWPATH"
    UPLOAD_TO_MINIO: 1
    MERGE_FRAGMENT: x86_64.config


# Jobs for build-testing different configurations

build:arm32:
  extends: .build:arm32

build-nodebugfs:arm64:
  extends: .build:arm64
  variables:
    DISABLE_KCONFIGS: "DEBUG_FS"
    ENABLE_KCONFIGS: "EXPERT DRM_MSM_VALIDATE_XML"

build:x86_64:
  extends: .build:x86_64

# Disable build jobs that we won't use
alpine-build-testing:
  rules:
    - when: never

debian-android:
  rules:
    - when: never

debian-arm32:
  rules:
    - when: never

debian-arm32-asan:
  rules:
    - when: never

debian-arm64:
  rules:
    - when: never

debian-arm64-asan:
  rules:
    - when: never

debian-arm64-build-test:
  rules:
    - when: never

debian-arm64-release:
  rules:
    - when: never

debian-arm64-ubsan:
  rules:
    - when: never

debian-build-testing:
  rules:
    - when: never

debian-clang:
  rules:
    - when: never

debian-clang-release:
  rules:
    - when: never

debian-no-libdrm:
  rules:
    - when: never

debian-ppc64el:
  rules:
    - when: never

debian-release:
  rules:
    - when: never

debian-s390x:
  rules:
    - when: never

debian-testing:
  rules:
    - when: never

debian-testing-asan:
  rules:
    - when: never

debian-testing-msan:
  rules:
    - when: never

debian-testing-ubsan:
  rules:
    - when: never

debian-vulkan:
  rules:
    - when: never

debian-x86_32:
  rules:
    - when: never

fedora-release:
  rules:
    - when: never

rustfmt:
  rules:
    - when: never

shader-db:
  rules:
    - when: never

windows-msvc:
  rules:
    - when: never

yaml-toml-shell-py-test:
  rules:
    - when: never