blob: 7cde2945b58f7fbdcf7a60f86091769b71901296 [file] [log] [blame]
Eric Engestrom329f5cd2019-01-20 11:21:45 +00001# This is the tag of the docker image used for the build jobs. If the
Eric Engestroma0f8a072019-09-11 18:51:46 +01002# image doesn't exist yet, the containers stage generates it.
Eric Engestrom329f5cd2019-01-20 11:21:45 +00003#
4# In order to generate a new image, one should generally change the tag.
5# While removing the image from the registry would also work, that's not
6# recommended except for ephemeral images during development: Replacing
7# an image after a significant amount of time might pull in newer
8# versions of gcc/clang or other packages, which might break the build
9# with older commits using the same tag.
10#
11# After merging a change resulting in generating a new image to the
12# main repository, it's recommended to remove the image from the source
13# repository's container registry, so that the image from the main
14# repository's registry will be used there as well.
Eric Engestrom329f5cd2019-01-20 11:21:45 +000015variables:
Benjamin Tissoires7f8a9a12019-04-02 09:24:00 +020016 UPSTREAM_REPO: mesa/mesa
Michel Dänzer163ec5d2019-10-08 19:46:11 +020017 DEBIAN_TAG: "2019-10-22"
18 DEBIAN_ARM64_TAG: "arm64v8-2019-10-22"
Michel Dänzer8a199922019-09-06 17:04:47 +020019 STRETCH_TAG: "2019-09-18"
20 DEBIAN_VERSION: buster-slim
21 STRETCH_VERSION: stretch-slim
Michel Dänzerd00b1c42019-04-02 16:56:54 +020022 DEBIAN_IMAGE: "$CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_TAG"
Michel Dänzer8a199922019-09-06 17:04:47 +020023 DEBIAN_ARM64_IMAGE: "$CI_REGISTRY_IMAGE/debian/$DEBIAN_VERSION:$DEBIAN_ARM64_TAG"
24 STRETCH_IMAGE: "$CI_REGISTRY_IMAGE/debian/$STRETCH_VERSION:$STRETCH_TAG"
Benjamin Tissoires7f8a9a12019-04-02 09:24:00 +020025
26include:
27 - project: 'wayland/ci-templates'
Michel Dänzer2259b452019-09-06 17:01:50 +020028 ref: 1f7f57c64ff4ebbf7292e3b7a13600518b8cb24c
Michel Dänzerd00b1c42019-04-02 16:56:54 +020029 file: '/templates/debian.yml'
Eric Engestrom329f5cd2019-01-20 11:21:45 +000030
Tomeu Vizoso7b01f722019-09-18 16:03:36 +020031include:
Tomeu Vizoso555c0de2019-09-18 16:43:30 +020032 - local: '/.gitlab-ci/lava-gitlab-ci.yml'
Tomeu Vizoso7b01f722019-09-18 16:03:36 +020033
Eric Engestrom329f5cd2019-01-20 11:21:45 +000034stages:
Eric Engestrom81b98e92019-10-14 23:04:14 +010035 - container
Eric Engestroma0f8a072019-09-11 18:51:46 +010036 - build
Eric Anholt46daaca2019-06-28 16:35:32 -070037 - test
Eric Engestrom329f5cd2019-01-20 11:21:45 +000038
39
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000040# When to automatically run the CI
Michel Dänzere426f402019-09-06 17:35:52 +020041.ci-run-policy:
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000042 only:
Michel Dänzerb48e64f2019-04-10 10:33:13 +020043 - branches@mesa/mesa
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000044 - merge_requests
45 - /^ci([-/].*)?$/
Michel Dänzer6140ed32019-03-26 18:39:41 +010046 retry:
47 max: 2
48 when:
49 - runner_system_failure
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000050
Michel Dänzere426f402019-09-06 17:35:52 +020051.ci-deqp-artifacts:
Eric Anholt46daaca2019-06-28 16:35:32 -070052 artifacts:
53 when: always
54 untracked: false
55 paths:
56 # Watch out! Artifacts are relative to the build dir.
57 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
58 - artifacts
Eric Engestrom7f5d9c22019-02-22 15:52:08 +000059
Michel Dänzer8a199922019-09-06 17:04:47 +020060# Build the normal CI native and cross-build docker images.
61
Eric Engestrom81b98e92019-10-14 23:04:14 +010062.container:
63 stage: container
64 extends:
65 - .ci-run-policy
66 variables:
67 # no need to pull the whole repo to build the container image
68 GIT_STRATEGY: none
69
Michel Dänzer163ec5d2019-10-08 19:46:11 +020070debian-10:amd64:
Michel Dänzere426f402019-09-06 17:35:52 +020071 extends:
72 - .debian@container-ifnot-exists
Eric Engestrom81b98e92019-10-14 23:04:14 +010073 - .container
Eric Engestrom329f5cd2019-01-20 11:21:45 +000074 variables:
Michel Dänzerd00b1c42019-04-02 16:56:54 +020075 DEBIAN_EXEC: 'bash .gitlab-ci/debian-install.sh'
Eric Engestrom46d23c02019-01-20 11:26:53 +000076
Michel Dänzer163ec5d2019-10-08 19:46:11 +020077.use-debian-10:amd64:
Michel Dänzereb86cba2019-10-10 15:27:17 +020078 image: $DEBIAN_IMAGE
79 needs:
Michel Dänzer163ec5d2019-10-08 19:46:11 +020080 - debian-10:amd64
Michel Dänzereb86cba2019-10-10 15:27:17 +020081
Michel Dänzer163ec5d2019-10-08 19:46:11 +020082debian-9:amd64:
83 extends: debian-10:amd64
Michel Dänzer8a199922019-09-06 17:04:47 +020084 variables:
85 DEBIAN_TAG: $STRETCH_TAG
86 DEBIAN_VERSION: $STRETCH_VERSION
87 DEBIAN_IMAGE: $STRETCH_IMAGE
88 DEBIAN_EXEC: 'bash .gitlab-ci/debian-stretch-install.sh'
89
Michel Dänzer163ec5d2019-10-08 19:46:11 +020090.use-debian-9:amd64:
Michel Dänzer88319f22019-09-18 16:17:01 +020091 image: $STRETCH_IMAGE
92 needs:
Michel Dänzer163ec5d2019-10-08 19:46:11 +020093 - debian-9:amd64
Michel Dänzer88319f22019-09-18 16:17:01 +020094
Michel Dänzer163ec5d2019-10-08 19:46:11 +020095debian-10:arm64:
Michel Dänzere426f402019-09-06 17:35:52 +020096 extends:
97 - .debian@container-ifnot-exists@arm64v8
Eric Engestrom81b98e92019-10-14 23:04:14 +010098 - .container
Eric Anholt6f0dc082019-06-28 16:35:32 -070099 variables:
100 DEBIAN_TAG: "$DEBIAN_ARM64_TAG"
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200101 DEBIAN_EXEC: 'bash .gitlab-ci/debian-arm64-install.sh'
Eric Engestrom46d23c02019-01-20 11:26:53 +0000102
Eric Engestrom81b98e92019-10-14 23:04:14 +0100103
Eric Engestrom46d23c02019-01-20 11:26:53 +0000104# BUILD
105
106.build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100107 extends: .ci-run-policy
Eric Engestroma0f8a072019-09-11 18:51:46 +0100108 stage: build
Michel Dänzera3f34f92019-03-26 18:35:59 +0100109 cache:
Michel Dänzer4712fdf2019-10-01 16:00:16 +0200110 key: ${CI_JOB_NAME}
Michel Dänzera3f34f92019-03-26 18:35:59 +0100111 paths:
112 - ccache
Eric Engestrom46d23c02019-01-20 11:26:53 +0000113 artifacts:
Eric Anholtdd3d0b22019-07-24 09:27:48 -0700114 when: always
115 paths:
116 - _build/meson-logs/*.txt
117 # scons:
Michel Dänzer5229f272019-07-26 12:20:41 +0200118 - build/*/config.log
Eric Anholtf60defa2019-04-10 15:59:12 -0700119 - shader-db
Michel Dänzere9de19f2019-04-04 18:01:27 +0200120 variables:
121 CCACHE_COMPILERCHECK: "content"
Eric Engestrom23b485c2019-02-12 16:59:27 +0000122 # Use ccache transparently, and print stats before/after
123 before_script:
124 - export PATH="/usr/lib/ccache:$PATH"
125 - export CCACHE_BASEDIR="$PWD"
126 - export CCACHE_DIR="$PWD/ccache"
Michel Dänzer4712fdf2019-10-01 16:00:16 +0200127 - ccache --max-size=1500M
Eric Engestrom23b485c2019-02-12 16:59:27 +0000128 - ccache --zero-stats || true
129 - ccache --show-stats || true
130 after_script:
Eric Anholt46daaca2019-06-28 16:35:32 -0700131 # In case the install dir is being saved as artifacts, tar it up
132 # so that symlinks and hardlinks aren't each packed separately in
133 # the zip file.
134 - if [ -d install ]; then
135 tar -cf artifacts/install.tar install;
136 fi
Eric Engestrom23b485c2019-02-12 16:59:27 +0000137 - export CCACHE_DIR="$PWD/ccache"
138 - ccache --show-stats
Eric Engestrom46d23c02019-01-20 11:26:53 +0000139
140.meson-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100141 extends:
142 - .build
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200143 - .use-debian-10:amd64
Eric Engestrom23b485c2019-02-12 16:59:27 +0000144 script:
Michel Dänzercc2b3a92019-05-03 10:49:43 +0200145 - .gitlab-ci/meson-build.sh
Eric Engestrom46d23c02019-01-20 11:26:53 +0000146
Eric Engestrom06b245b2019-01-23 15:46:10 +0000147.scons-build:
Eric Engestromaba78c22019-10-14 23:52:58 +0100148 extends:
149 - .build
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200150 - .use-debian-10:amd64
Eric Engestrom06b245b2019-01-23 15:46:10 +0000151 variables:
152 SCONSFLAGS: "-j4"
153 script:
Michel Dänzer0374aac2019-09-12 11:34:43 +0200154 - .gitlab-ci/scons-build.sh
Eric Engestrom06b245b2019-01-23 15:46:10 +0000155
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200156meson-main:
Michel Dänzere426f402019-09-06 17:35:52 +0200157 extends:
158 - .meson-build
159 - .ci-deqp-artifacts
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200160 variables:
161 UNWIND: "true"
162 DRI_LOADERS: >
163 -D glx=dri
164 -D gbm=true
165 -D egl=true
166 -D platforms=x11,wayland,drm,surfaceless
167 DRI_DRIVERS: "i915,i965,r100,r200,nouveau"
168 GALLIUM_ST: >
169 -D dri3=true
170 -D gallium-extra-hud=true
171 -D gallium-vdpau=true
172 -D gallium-xvmc=true
173 -D gallium-omx=bellagio
174 -D gallium-va=true
175 -D gallium-xa=true
176 -D gallium-nine=true
177 -D gallium-opencl=disabled
178 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima"
179 LLVM_VERSION: "7"
180 EXTRA_OPTION: >
181 -D osmesa=gallium
182 -D tools=all
183 MESON_SHADERDB: "true"
184 BUILDTYPE: "debugoptimized"
Michel Dänzer42f8d5a2019-08-28 12:01:02 +0200185
Michel Dänzere5364462019-09-13 11:59:43 +0200186.meson-cross:
187 extends:
188 - .meson-build
Michel Dänzere5364462019-09-13 11:59:43 +0200189 variables:
190 UNWIND: "false"
191 DRI_LOADERS: >
192 -D glx=disabled
193 -D gbm=false
194 -D egl=true
195 -D platforms=surfaceless
196 -D osmesa=none
197 GALLIUM_ST: >
198 -D dri3=false
199 -D gallium-vdpau=false
200 -D gallium-xvmc=false
201 -D gallium-omx=disabled
202 -D gallium-va=false
203 -D gallium-xa=false
204 -D gallium-nine=false
205 -D llvm=false
Michel Dänzere5364462019-09-13 11:59:43 +0200206
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200207.meson-arm:
Michel Dänzere5364462019-09-13 11:59:43 +0200208 extends: .meson-cross
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200209 image: $DEBIAN_ARM64_IMAGE
Michel Dänzere5364462019-09-13 11:59:43 +0200210 variables:
Michel Dänzere5364462019-09-13 11:59:43 +0200211 VULKAN_DRIVERS: freedreno
212 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,tegra,v3d,vc4"
Michel Dänzere5364462019-09-13 11:59:43 +0200213 EXTRA_OPTION: >
Michel Dänzere5364462019-09-13 11:59:43 +0200214 -D I-love-half-baked-turnips=true
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200215 needs:
216 - debian-10:arm64
217 tags:
218 - aarch64
219
220meson-armhf:
221 extends: .meson-arm
222 variables:
223 CROSS: armhf
Michel Dänzere5364462019-09-13 11:59:43 +0200224
225meson-arm64:
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200226 extends:
227 - .meson-arm
228 - .ci-deqp-artifacts
Michel Dänzere5364462019-09-13 11:59:43 +0200229 variables:
Michel Dänzere5364462019-09-13 11:59:43 +0200230 BUILDTYPE: "debugoptimized"
231
Michel Dänzera2cce702019-03-20 15:58:31 +0100232# NOTE: Building SWR is 2x (yes two) times slower than all the other
233# gallium drivers combined.
234# Start this early so that it doesn't limit the total run time.
Eric Engestrom41407c62019-03-08 16:33:07 +0000235#
Eric Anholt030aa6e2019-08-07 14:05:51 -0700236# We also stick the glvnd build here, since we want non-glvnd in
237# meson-main for actual driver CI.
Eric Engestrom1291c682019-04-16 18:06:53 +0200238meson-swr-glvnd:
Michel Dänzera2cce702019-03-20 15:58:31 +0100239 extends: .meson-build
240 variables:
241 UNWIND: "true"
242 DRI_LOADERS: >
Eric Engestrom1291c682019-04-16 18:06:53 +0200243 -D glvnd=true
244 -D egl=true
Michel Dänzera2cce702019-03-20 15:58:31 +0100245 GALLIUM_ST: >
Eric Engestrom41407c62019-03-08 16:33:07 +0000246 -D dri3=true
Michel Dänzera2cce702019-03-20 15:58:31 +0100247 -D gallium-vdpau=false
248 -D gallium-xvmc=false
249 -D gallium-omx=disabled
250 -D gallium-va=false
251 -D gallium-xa=false
Eric Anholt030aa6e2019-08-07 14:05:51 -0700252 -D gallium-nine=false
Michel Dänzera2cce702019-03-20 15:58:31 +0100253 -D gallium-opencl=disabled
Eric Anholt030aa6e2019-08-07 14:05:51 -0700254 GALLIUM_DRIVERS: "swr,iris"
Michel Dänzera2cce702019-03-20 15:58:31 +0100255 LLVM_VERSION: "6.0"
256
257meson-clang:
258 extends: .meson-build
259 variables:
260 UNWIND: "true"
261 DRI_DRIVERS: "auto"
262 GALLIUM_DRIVERS: "auto"
Eric Engestrom47f419d2019-05-01 12:09:26 +0100263 VULKAN_DRIVERS: intel,amd,freedreno
Michel Dänzer3fca2b72019-04-05 10:36:29 +0200264 CC: "ccache clang-8"
265 CXX: "ccache clang++-8"
Michel Dänzera2cce702019-03-20 15:58:31 +0100266
Michel Dänzer82b30092019-05-03 18:19:25 +0200267scons-swr:
268 extends: .scons-build
Eric Engestrom46d23c02019-01-20 11:26:53 +0000269 variables:
Michel Dänzer82b30092019-05-03 18:19:25 +0200270 SCONS_TARGET: "swr=1"
271 SCONS_CHECK_COMMAND: "true"
272 LLVM_VERSION: "6.0"
273
274scons-win64:
275 extends: .scons-build
276 variables:
277 SCONS_TARGET: platform=windows machine=x86_64
278 SCONS_CHECK_COMMAND: "true"
Eric Engestrom89a74672019-01-21 09:42:37 +0000279
Michel Dänzer68977152019-05-03 10:58:48 +0200280meson-clover:
Eric Engestromb5a70af2019-01-28 18:05:22 +0000281 extends: .meson-build
282 variables:
283 UNWIND: "true"
284 DRI_LOADERS: >
285 -D glx=disabled
286 -D egl=false
287 -D gbm=false
288 GALLIUM_ST: >
289 -D dri3=false
290 -D gallium-vdpau=false
291 -D gallium-xvmc=false
292 -D gallium-omx=disabled
293 -D gallium-va=false
294 -D gallium-xa=false
295 -D gallium-nine=false
296 -D gallium-opencl=icd
Michel Dänzer68977152019-05-03 10:58:48 +0200297 script:
298 - export GALLIUM_DRIVERS="r600,radeonsi"
299 - .gitlab-ci/meson-build.sh
Samuel Pitoiset7d1c0912019-08-21 11:45:25 +0200300 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
Michel Dänzer68977152019-05-03 10:58:48 +0200301 - export GALLIUM_DRIVERS="i915,r600"
Michel Dänzer8a199922019-09-06 17:04:47 +0200302 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
303 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
304
305meson-clover-old-llvm:
Michel Dänzer88319f22019-09-18 16:17:01 +0200306 extends:
307 - meson-clover
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200308 - .use-debian-9:amd64
Michel Dänzer8a199922019-09-06 17:04:47 +0200309 variables:
310 UNWIND: "false"
311 DRI_LOADERS: >
312 -D glx=disabled
313 -D egl=false
314 -D gbm=false
315 -D platforms=drm,surfaceless
316 GALLIUM_DRIVERS: "i915,r600"
317 script:
Michel Dänzer68977152019-05-03 10:58:48 +0200318 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
319 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
320 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
Eric Engestrom8dab7072019-01-28 18:09:24 +0000321
Michel Dänzer82b30092019-05-03 18:19:25 +0200322meson-vulkan:
323 extends: .meson-build
324 variables:
325 UNWIND: "false"
326 DRI_LOADERS: >
327 -D glx=disabled
328 -D gbm=false
329 -D egl=false
330 -D platforms=x11,wayland,drm
331 -D osmesa=none
332 GALLIUM_ST: >
333 -D dri3=true
334 -D gallium-vdpau=false
335 -D gallium-xvmc=false
336 -D gallium-omx=disabled
337 -D gallium-va=false
338 -D gallium-xa=false
339 -D gallium-nine=false
340 -D gallium-opencl=disabled
341 VULKAN_DRIVERS: intel,amd,freedreno
Samuel Pitoiset7d1c0912019-08-21 11:45:25 +0200342 LLVM_VERSION: "8"
Eric Engestrom5f8d29a2019-05-08 18:17:23 +0200343 EXTRA_OPTION: >
344 -D vulkan-overlay-layer=true
Michel Dänzer82b30092019-05-03 18:19:25 +0200345
Eric Anholt030aa6e2019-08-07 14:05:51 -0700346# While the main point of this build is testing the i386 cross build,
347# we also use this one to test some other options that are exclusive
348# with meson-main's choices (classic swrast and osmesa)
Eric Anholt11aa32a2019-07-11 12:58:28 -0700349meson-i386:
350 extends: .meson-cross
351 variables:
Eric Engestrom1c82fa02019-08-09 23:46:50 +0100352 CROSS: i386
Eric Anholt11aa32a2019-07-11 12:58:28 -0700353 VULKAN_DRIVERS: intel
Eric Anholt030aa6e2019-08-07 14:05:51 -0700354 DRI_DRIVERS: "swrast"
355 GALLIUM_DRIVERS: "iris"
Eric Anholt11aa32a2019-07-11 12:58:28 -0700356 EXTRA_OPTION: >
Eric Anholt11aa32a2019-07-11 12:58:28 -0700357 -D vulkan-overlay-layer=true
Eric Anholt030aa6e2019-08-07 14:05:51 -0700358 -D llvm=false
359 -D osmesa=classic
Eric Anholt11aa32a2019-07-11 12:58:28 -0700360
Dylan Baker449f8312019-10-11 09:04:14 -0700361meson-mingw32-x86_64:
Dylan Bakerd905d9b2019-09-19 10:21:51 -0700362 extends: .meson-build
363 variables:
364 UNWIND: "false"
365 DRI_DRIVERS: ""
366 GALLIUM_DRIVERS: "swrast"
367 EXTRA_OPTION: >
368 -Dllvm=false
369 -Dosmesa=gallium
370 --cross-file=.gitlab-ci/x86_64-w64-mingw32
371
Michel Dänzer88e57962019-09-12 11:45:13 +0200372scons:
Eric Engestromd4c6d4d2019-01-28 16:30:36 +0000373 extends: .scons-build
374 variables:
375 SCONS_TARGET: "llvm=1"
376 SCONS_CHECK_COMMAND: "scons llvm=1 check"
Michel Dänzerbaa50242019-09-12 11:38:06 +0200377 script:
Michel Dänzer88e57962019-09-12 11:45:13 +0200378 - SCONS_TARGET="" SCONS_CHECK_COMMAND="scons check" .gitlab-ci/scons-build.sh
Michel Dänzerbaa50242019-09-12 11:38:06 +0200379 - LLVM_VERSION=6.0 .gitlab-ci/scons-build.sh
380 - LLVM_VERSION=7 .gitlab-ci/scons-build.sh
381 - LLVM_VERSION=8 .gitlab-ci/scons-build.sh
Michel Dänzer8a199922019-09-06 17:04:47 +0200382
383scons-old-llvm:
Michel Dänzer88319f22019-09-18 16:17:01 +0200384 extends:
385 - scons
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200386 - .use-debian-9:amd64
Michel Dänzerbaa50242019-09-12 11:38:06 +0200387 script:
388 - LLVM_VERSION=3.9 .gitlab-ci/scons-build.sh
389 - LLVM_VERSION=4.0 .gitlab-ci/scons-build.sh
390 - LLVM_VERSION=5.0 .gitlab-ci/scons-build.sh
Eric Anholt46daaca2019-06-28 16:35:32 -0700391
Eric Engestrom3bcd54f2019-10-14 23:53:15 +0100392.test:
393 extends: .ci-run-policy
Eric Anholt46daaca2019-06-28 16:35:32 -0700394 stage: test
Eric Anholt46daaca2019-06-28 16:35:32 -0700395 variables:
396 GIT_STRATEGY: none # testing doesn't build anything from source
Eric Engestrom3bcd54f2019-10-14 23:53:15 +0100397
398.deqp-test:
399 extends:
400 - .test
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200401 - .use-debian-10:amd64
Eric Engestrom3bcd54f2019-10-14 23:53:15 +0100402 variables:
Eric Anholt46daaca2019-06-28 16:35:32 -0700403 DEQP_SKIPS: deqp-default-skips.txt
404 script:
405 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
406 - rm -rf install
407 - tar -xf artifacts/install.tar
408 - ./artifacts/deqp-runner.sh
409 artifacts:
410 when: on_failure
411 name: "$CI_JOB_NAME-$CI_COMMIT_REF_NAME"
412 paths:
413 - results/
Michel Dänzercccb68b2019-09-13 11:13:12 +0200414 dependencies:
415 - meson-main
Michel Dänzerc5aa2712019-10-22 11:19:17 +0200416 needs:
417 - meson-main
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200418 - debian-10:amd64
Eric Anholt46daaca2019-06-28 16:35:32 -0700419
420test-llvmpipe-gles2:
421 parallel: 4
422 variables:
423 DEQP_VER: gles2
424 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
425 LIBGL_ALWAYS_SOFTWARE: "true"
426 DEQP_RENDERER_MATCH: "llvmpipe"
427 extends: .deqp-test
Eric Anholt553cd822019-08-09 10:32:40 -0700428
429test-softpipe-gles2:
Michel Dänzer128581d2019-09-11 18:55:43 +0200430 extends: test-llvmpipe-gles2
Eric Anholt553cd822019-08-09 10:32:40 -0700431 variables:
Eric Anholt553cd822019-08-09 10:32:40 -0700432 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
Eric Anholt553cd822019-08-09 10:32:40 -0700433 DEQP_RENDERER_MATCH: "softpipe"
434 GALLIUM_DRIVER: "softpipe"
Eric Anholt553cd822019-08-09 10:32:40 -0700435
436# The GLES2 CTS run takes about 8 minutes of CPU time, while GLES3 is
437# 25 minutes. Until we can get its runtime down, just do a partial
438# (every 10 tests) run.
439test-softpipe-gles3-limited:
440 variables:
441 DEQP_VER: gles3
442 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
443 LIBGL_ALWAYS_SOFTWARE: "true"
444 DEQP_RENDERER_MATCH: "softpipe"
445 GALLIUM_DRIVER: "softpipe"
446 CI_NODE_INDEX: 1
447 CI_NODE_TOTAL: 10
448 extends: .deqp-test
Eric Anholt6f0dc082019-06-28 16:35:32 -0700449
Michel Dänzer128581d2019-09-11 18:55:43 +0200450arm64_a630_gles2:
Eric Anholt6f0dc082019-06-28 16:35:32 -0700451 extends: .deqp-test
Eric Anholt6f0dc082019-06-28 16:35:32 -0700452 image: $DEBIAN_ARM64_IMAGE
453 variables:
454 DEQP_VER: gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700455 DEQP_RENDERER_MATCH: "FD630"
456 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
457 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
458 NIR_VALIDATE: 0
459 tags:
460 - mesa-cheza
461 dependencies:
462 - meson-arm64
Michel Dänzerf2b80512019-09-18 16:28:41 +0200463 needs:
464 - meson-arm64
Michel Dänzer163ec5d2019-10-08 19:46:11 +0200465 - debian-10:arm64
Eric Anholt6f0dc082019-06-28 16:35:32 -0700466
Michel Dänzer128581d2019-09-11 18:55:43 +0200467arm64_a630_gles31:
468 extends: arm64_a630_gles2
469 parallel: 4
Eric Anholt6f0dc082019-06-28 16:35:32 -0700470 variables:
Michel Dänzer128581d2019-09-11 18:55:43 +0200471 DEQP_VER: gles31
Eric Anholt6f0dc082019-06-28 16:35:32 -0700472
473arm64_a630_gles3:
474 parallel: 6
Michel Dänzer128581d2019-09-11 18:55:43 +0200475 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700476 variables:
477 DEQP_VER: gles3
478
Michel Dänzer128581d2019-09-11 18:55:43 +0200479arm64_a306_gles2:
Eric Anholt6f0dc082019-06-28 16:35:32 -0700480 parallel: 4
Michel Dänzer128581d2019-09-11 18:55:43 +0200481 extends: arm64_a630_gles2
Eric Anholt6f0dc082019-06-28 16:35:32 -0700482 variables:
Michel Dänzer128581d2019-09-11 18:55:43 +0200483 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
484 DEQP_SKIPS: deqp-default-skips.txt
485 DEQP_RENDERER_MATCH: "FD307"
486 tags:
487 - db410c