radv: enable lowering of GS intrinsics for the LLVM backend
[mesa.git] / .gitlab-ci.yml
1 variables:
2 FDO_UPSTREAM_REPO: mesa/mesa
3
4 include:
5 - project: 'freedesktop/ci-templates'
6 ref: 4b2997287317808830e9cb4eb0f99b691787da88
7 file: '/templates/debian.yml'
8 - local: '.gitlab-ci/lava-gitlab-ci.yml'
9 - local: '.gitlab-ci/test-source-dep.yml'
10
11 stages:
12 - container
13 - meson-x86_64
14 - scons
15 - meson-misc
16 - llvmpipe
17 - softpipe
18 - freedreno
19 - panfrost
20 - radv
21 - lima
22 - success
23
24
25 # When to automatically run the CI
26 .ci-run-policy:
27 rules:
28 # If any files affecting the pipeline are changed, build/test jobs run
29 # automatically once all dependency jobs have passed
30 - changes: &all_paths
31 - VERSION
32 - bin/**/*
33 # GitLab CI
34 - .gitlab-ci.yml
35 - .gitlab-ci/**/*
36 # Meson
37 - meson*
38 - build-support/**/*
39 - subprojects/**/*
40 # SCons
41 - SConstruct
42 - scons/**/*
43 - common.py
44 # Source code
45 - include/**/*
46 - src/**/*
47 when: on_success
48 # Otherwise, build/test jobs won't run
49 - when: never
50 retry:
51 max: 2
52 when:
53 - runner_system_failure
54 # Cancel CI run if a newer commit is pushed to the same branch
55 interruptible: true
56
57 success:
58 stage: success
59 image: debian:stable-slim
60 only:
61 - merge_requests
62 except:
63 changes:
64 *all_paths
65 variables:
66 GIT_STRATEGY: none
67 script:
68 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
69
70
71 .ci-deqp-artifacts:
72 artifacts:
73 name: "mesa_${CI_JOB_NAME}"
74 when: always
75 untracked: false
76 paths:
77 # Watch out! Artifacts are relative to the build dir.
78 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
79 - artifacts
80
81 # Build the CI docker images.
82 #
83 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
84 # image doesn't exist yet, the container stage job generates it.
85 #
86 # In order to generate a new image, one should generally change the tag.
87 # While removing the image from the registry would also work, that's not
88 # recommended except for ephemeral images during development: Replacing
89 # an image after a significant amount of time might pull in newer
90 # versions of gcc/clang or other packages, which might break the build
91 # with older commits using the same tag.
92 #
93 # After merging a change resulting in generating a new image to the
94 # main repository, it's recommended to remove the image from the source
95 # repository's container registry, so that the image from the main
96 # repository's registry will be used there as well.
97
98 .container:
99 stage: container
100 extends:
101 - .ci-run-policy
102 rules:
103 # Run pipeline by default if it was triggered by Marge Bot, is for a
104 # merge request, and any files affecting it were changed
105 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
106 changes:
107 *all_paths
108 when: on_success
109 # Run pipeline by default in the main project if any files affecting it were
110 # changed
111 - if: '$CI_PROJECT_PATH == "mesa/mesa"'
112 changes:
113 *all_paths
114 when: on_success
115 # Allow triggering jobs manually for MRs or branches of forked projects if
116 # any files affecting the pipeline were changed
117 - changes:
118 *all_paths
119 when: manual
120 # Otherwise, container jobs won't run
121 - when: never
122 variables:
123 FDO_DISTRIBUTION_VERSION: buster-slim
124 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
125 FDO_DISTRIBUTION_EXEC: 'bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
126 # no need to pull the whole repo to build the container image
127 GIT_STRATEGY: none
128
129 # Debian 10 based x86 build image
130 x86_build:
131 extends:
132 - .fdo.container-build@debian
133 - .container
134 variables:
135 FDO_DISTRIBUTION_TAG: &x86_build "2020-03-18-jflags"
136
137 .use-x86_build:
138 variables:
139 TAG: *x86_build
140 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
141 needs:
142 - x86_build
143
144 # Debian 10 based x86 test image for GL
145 x86_test-gl:
146 extends: x86_build
147 variables:
148 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-03-18-jflags"
149
150 # Debian 10 based x86 test image for VK
151 x86_test-vk:
152 extends: x86_build
153 variables:
154 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-04-01-jflags"
155
156 # Debian 9 based x86 build image (old LLVM)
157 x86_build_old:
158 extends: x86_build
159 variables:
160 FDO_DISTRIBUTION_TAG: &x86_build_old "2019-03-18-jflags"
161 FDO_DISTRIBUTION_VERSION: stretch-slim
162
163 .use-x86_build_old:
164 variables:
165 TAG: *x86_build_old
166 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
167 needs:
168 - x86_build_old
169
170 # Debian 10 based ARM build image
171 arm_build:
172 extends:
173 - .fdo.container-build@debian@arm64v8
174 - .container
175 variables:
176 FDO_DISTRIBUTION_TAG: &arm_build "2020-04-01-jflags"
177
178 .use-arm_build:
179 variables:
180 TAG: *arm_build
181 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
182 needs:
183 - arm_build
184
185 # Debian 10 based ARM test image
186 arm_test:
187 extends: arm_build
188 variables:
189 FDO_DISTRIBUTION_TAG: &arm_test "2020-03-18-jflags"
190
191 .use-arm_test:
192 variables:
193 TAG: *arm_test
194 image: "$CI_REGISTRY_IMAGE/debian/arm_test:$TAG"
195 needs:
196 - meson-arm64
197 - arm_test
198
199 # Native Windows docker builds
200 #
201 # Unlike the above Linux-based builds - including MinGW/SCons builds which
202 # cross-compile for Windows - which use the freedesktop ci-templates, we
203 # cannot use the same scheme here. As Windows lacks support for
204 # Docker-in-Docker, and Podman does not run natively on Windows, we have
205 # to open-code much of the same ourselves.
206 #
207 # This is achieved by first running in a native Windows shell instance
208 # (host PowerShell) in the container stage to build and push the image,
209 # then in the build stage by executing inside Docker.
210
211 .windows-docker-vs2019:
212 variables:
213 WINDOWS_TAG: "2020-03-24"
214 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
215 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
216
217 windows_build_vs2019:
218 extends:
219 - .container
220 - .windows-docker-vs2019
221 stage: container
222 variables:
223 GIT_STRATEGY: fetch # we do actually need the full repository though
224 tags:
225 - windows
226 - shell
227 - "1809"
228 - mesa
229 script:
230 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
231
232 .use-windows_build_vs2019:
233 extends: .windows-docker-vs2019
234 image: "$WINDOWS_IMAGE"
235 needs:
236 - windows_build_vs2019
237
238 # BUILD
239
240 # Shared between windows and Linux
241 .build-common:
242 extends: .ci-run-policy
243 artifacts:
244 name: "mesa_${CI_JOB_NAME}"
245 when: always
246 paths:
247 - _build/meson-logs/*.txt
248 # scons:
249 - build/*/config.log
250 - shader-db
251
252 # Just Linux
253 .build-linux:
254 extends: .build-common
255 variables:
256 CCACHE_COMPILERCHECK: "content"
257 CCACHE_COMPRESS: "true"
258 CCACHE_DIR: /cache/mesa/ccache
259 # Use ccache transparently, and print stats before/after
260 before_script:
261 - export PATH="/usr/lib/ccache:$PATH"
262 - export CCACHE_BASEDIR="$PWD"
263 - ccache --show-stats
264 after_script:
265 - ccache --show-stats
266
267 .build-windows:
268 extends: .build-common
269 tags:
270 - windows
271 - docker
272 - "1809"
273 - mesa
274 cache:
275 key: ${CI_JOB_NAME}
276 paths:
277 - subprojects/packagecache
278
279 .meson-build:
280 extends:
281 - .build-linux
282 - .use-x86_build
283 stage: meson-x86_64
284 variables:
285 LLVM_VERSION: 9
286 script:
287 - .gitlab-ci/meson-build.sh
288
289 .scons-build:
290 extends:
291 - .build-linux
292 - .use-x86_build
293 stage: scons
294 variables:
295 SCONSFLAGS: "-j4"
296 script:
297 - .gitlab-ci/scons-build.sh
298
299 meson-testing:
300 extends:
301 - .meson-build
302 - .ci-deqp-artifacts
303 variables:
304 UNWIND: "true"
305 DRI_LOADERS: >
306 -D glx=dri
307 -D gbm=true
308 -D egl=true
309 -D platforms=x11,drm,surfaceless
310 GALLIUM_ST: >
311 -D dri3=true
312 GALLIUM_DRIVERS: "swrast"
313 VULKAN_DRIVERS: amd
314 BUILDTYPE: "debugoptimized"
315 EXTRA_OPTION: >
316 -D werror=true
317 script:
318 - .gitlab-ci/meson-build.sh
319 - .gitlab-ci/prepare-artifacts.sh
320
321 meson-gallium:
322 extends: .meson-build
323 variables:
324 UNWIND: "true"
325 DRI_LOADERS: >
326 -D glx=dri
327 -D gbm=true
328 -D egl=true
329 -D platforms=x11,wayland,drm,surfaceless
330 GALLIUM_ST: >
331 -D dri3=true
332 -D gallium-extra-hud=true
333 -D gallium-vdpau=true
334 -D gallium-xvmc=true
335 -D gallium-omx=bellagio
336 -D gallium-va=true
337 -D gallium-xa=true
338 -D gallium-nine=true
339 -D gallium-opencl=disabled
340 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
341 EXTRA_OPTION: >
342 -D osmesa=gallium
343 -D tools=all
344 script:
345 - .gitlab-ci/meson-build.sh
346 - .gitlab-ci/run-shader-db.sh
347
348 meson-classic:
349 extends: .meson-build
350 variables:
351 UNWIND: "true"
352 DRI_LOADERS: >
353 -D glx=dri
354 -D gbm=true
355 -D egl=true
356 -D platforms=x11,wayland,drm,surfaceless
357 DRI_DRIVERS: "auto"
358 EXTRA_OPTION: >
359 -D osmesa=classic
360 -D tools=all
361
362 .meson-cross:
363 extends:
364 - .meson-build
365 stage: meson-misc
366 variables:
367 UNWIND: "false"
368 DRI_LOADERS: >
369 -D glx=disabled
370 -D gbm=false
371 -D egl=true
372 -D platforms=surfaceless
373 -D osmesa=none
374 GALLIUM_ST: >
375 -D dri3=false
376 -D gallium-vdpau=false
377 -D gallium-xvmc=false
378 -D gallium-omx=disabled
379 -D gallium-va=false
380 -D gallium-xa=false
381 -D gallium-nine=false
382 LLVM_VERSION: "8"
383
384 .meson-arm:
385 extends:
386 - .meson-cross
387 - .use-arm_build
388 variables:
389 VULKAN_DRIVERS: freedreno
390 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
391 BUILDTYPE: "debugoptimized"
392 tags:
393 - aarch64
394
395 meson-armhf:
396 extends:
397 - .meson-arm
398 - .ci-deqp-artifacts
399 variables:
400 CROSS: armhf
401 LLVM_VERSION: "7"
402 EXTRA_OPTION: >
403 -D llvm=false
404 script:
405 - .gitlab-ci/meson-build.sh
406 - .gitlab-ci/prepare-artifacts.sh
407
408 meson-arm64:
409 extends:
410 - .meson-arm
411 - .ci-deqp-artifacts
412 variables:
413 VULKAN_DRIVERS: "freedreno"
414 EXTRA_OPTION: >
415 -D llvm=false
416 script:
417 - .gitlab-ci/meson-build.sh
418 - .gitlab-ci/prepare-artifacts.sh
419
420 meson-arm64-build-test:
421 extends:
422 - .meson-arm
423 - .ci-deqp-artifacts
424 variables:
425 VULKAN_DRIVERS: "amd"
426 script:
427 - .gitlab-ci/meson-build.sh
428
429 meson-clang:
430 extends: .meson-build
431 variables:
432 UNWIND: "true"
433 DRI_LOADERS: >
434 -D glvnd=true
435 DRI_DRIVERS: "auto"
436 GALLIUM_DRIVERS: "auto"
437 VULKAN_DRIVERS: intel,amd,freedreno
438 CC: "ccache clang-9"
439 CXX: "ccache clang++-9"
440
441 meson-windows-vs2019:
442 extends:
443 - .build-windows
444 - .use-windows_build_vs2019
445 stage: meson-misc
446 script:
447 - . .\.gitlab-ci\windows\mesa_build.ps1
448
449 scons-win64:
450 extends: .scons-build
451 variables:
452 SCONS_TARGET: platform=windows machine=x86_64 debug=1
453 SCONS_CHECK_COMMAND: "true"
454 allow_failure: true
455
456 meson-clover:
457 extends: .meson-build
458 variables:
459 UNWIND: "true"
460 DRI_LOADERS: >
461 -D glx=disabled
462 -D egl=false
463 -D gbm=false
464 GALLIUM_ST: >
465 -D dri3=false
466 -D gallium-vdpau=false
467 -D gallium-xvmc=false
468 -D gallium-omx=disabled
469 -D gallium-va=false
470 -D gallium-xa=false
471 -D gallium-nine=false
472 -D gallium-opencl=icd
473 script:
474 - export GALLIUM_DRIVERS="r600,radeonsi"
475 - .gitlab-ci/meson-build.sh
476 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
477 - export GALLIUM_DRIVERS="i915,r600"
478 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
479 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
480
481 meson-clover-old-llvm:
482 extends:
483 - meson-clover
484 - .use-x86_build_old
485 variables:
486 UNWIND: "false"
487 DRI_LOADERS: >
488 -D glx=disabled
489 -D egl=false
490 -D gbm=false
491 -D platforms=drm,surfaceless
492 GALLIUM_DRIVERS: "i915,r600"
493 script:
494 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
495 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
496 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
497
498 meson-vulkan:
499 extends: .meson-build
500 variables:
501 UNWIND: "false"
502 DRI_LOADERS: >
503 -D glx=disabled
504 -D gbm=false
505 -D egl=false
506 -D platforms=x11,wayland,drm
507 -D osmesa=none
508 GALLIUM_ST: >
509 -D dri3=true
510 -D gallium-vdpau=false
511 -D gallium-xvmc=false
512 -D gallium-omx=disabled
513 -D gallium-va=false
514 -D gallium-xa=false
515 -D gallium-nine=false
516 -D gallium-opencl=disabled
517 -D b_sanitize=undefined
518 -D c_args=-fno-sanitize-recover=all
519 -D cpp_args=-fno-sanitize-recover=all
520 UBSAN_OPTIONS: "print_stacktrace=1"
521 VULKAN_DRIVERS: intel,amd,freedreno
522 EXTRA_OPTION: >
523 -D vulkan-overlay-layer=true
524 -D werror=true
525
526 meson-i386:
527 extends: .meson-cross
528 variables:
529 CROSS: i386
530 VULKAN_DRIVERS: intel,amd
531 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
532 EXTRA_OPTION: >
533 -D vulkan-overlay-layer=true
534 -D werror=true
535 script:
536 - dpkg -i /var/cache/apt/archives/$CROSS/*.deb
537 - .gitlab-ci/meson-build.sh
538
539 meson-s390x:
540 extends:
541 - .meson-cross
542 tags:
543 - kvm
544 variables:
545 CROSS: s390x
546 GALLIUM_DRIVERS: "swrast"
547 script:
548 # For unknown reasons "too many" installed i386 libraries cause qemu to
549 # crash while executing llvm-config for s390x.
550 - apt-get remove -y libglib2.0-0:i386
551 - dpkg -i /var/cache/apt/archives/$CROSS/*.deb
552 - .gitlab-ci/meson-build.sh
553
554 meson-ppc64el:
555 extends:
556 - meson-s390x
557 variables:
558 CROSS: ppc64el
559 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
560 VULKAN_DRIVERS: "amd"
561
562 meson-mingw32-x86_64:
563 extends: .meson-build
564 stage: meson-misc
565 variables:
566 UNWIND: "false"
567 DRI_DRIVERS: ""
568 GALLIUM_DRIVERS: "swrast"
569 EXTRA_OPTION: >
570 -Dllvm=false
571 -Dosmesa=gallium
572 --cross-file=.gitlab-ci/x86_64-w64-mingw32
573
574 .test:
575 extends:
576 - .ci-run-policy
577 variables:
578 GIT_STRATEGY: none # testing doesn't build anything from source
579 before_script:
580 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
581 - rm -rf install
582 - tar -xf artifacts/install.tar
583 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
584 artifacts:
585 when: always
586 name: "mesa_${CI_JOB_NAME}"
587 paths:
588 - results/
589 dependencies:
590 - meson-testing
591
592 .test-gl:
593 extends:
594 - .test
595 variables:
596 TAG: *x86_test-gl
597 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
598 needs:
599 - meson-testing
600 - x86_test-gl
601
602 .test-vk:
603 extends:
604 - .test
605 variables:
606 TAG: *x86_test-vk
607 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
608 needs:
609 - meson-testing
610 - x86_test-vk
611
612 .piglit-test:
613 extends:
614 - .test-gl
615 - .llvmpipe-rules
616 artifacts:
617 when: on_failure
618 name: "mesa_${CI_JOB_NAME}"
619 paths:
620 - summary/
621 variables:
622 LIBGL_ALWAYS_SOFTWARE: 1
623 PIGLIT_NO_WINDOW: 1
624 script:
625 - install/piglit/run.sh
626
627 piglit-quick_gl:
628 extends: .piglit-test
629 variables:
630 LP_NUM_THREADS: 0
631 NIR_VALIDATE: 0
632 PIGLIT_OPTIONS: >
633 --process-isolation false
634 -x arb_gpu_shader5
635 -x egl_ext_device_
636 -x egl_ext_platform_device
637 -x ext_timer_query@time-elapsed
638 -x glx-multithread-clearbuffer
639 -x glx-multithread-shader-compile
640 -x max-texture-size
641 -x maxsize
642 PIGLIT_PROFILES: quick_gl
643
644 piglit-glslparser:
645 extends: .piglit-test
646 variables:
647 LP_NUM_THREADS: 0
648 NIR_VALIDATE: 0
649 PIGLIT_PROFILES: glslparser
650
651 piglit-quick_shader:
652 extends: .piglit-test
653 variables:
654 LP_NUM_THREADS: 1
655 NIR_VALIDATE: 0
656 PIGLIT_PROFILES: quick_shader
657
658 .deqp-test:
659 variables:
660 DEQP_SKIPS: deqp-default-skips.txt
661 script:
662 - ./install/deqp-runner.sh
663
664 .deqp-test-gl:
665 extends:
666 - .test-gl
667 - .deqp-test
668
669 .deqp-test-vk:
670 extends:
671 - .test-vk
672 - .deqp-test
673 variables:
674 DEQP_VER: vk
675
676 .fossilize-test:
677 extends: .test-vk
678 script:
679 - ./install/fossilize-runner.sh
680
681 llvmpipe-gles2:
682 variables:
683 DEQP_VER: gles2
684 DEQP_PARALLEL: 4
685 NIR_VALIDATE: 0
686 # Don't use threads inside llvmpipe, we've already got all 4 cores
687 # busy with DEQP_PARALLEL.
688 LP_NUM_THREADS: 0
689 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
690 LIBGL_ALWAYS_SOFTWARE: "true"
691 extends:
692 - .deqp-test-gl
693 - .llvmpipe-rules
694
695 softpipe-gles2:
696 extends:
697 - llvmpipe-gles2
698 - .softpipe-rules
699 variables:
700 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
701 DEQP_SKIPS: deqp-softpipe-skips.txt
702 GALLIUM_DRIVER: "softpipe"
703
704 softpipe-gles3:
705 parallel: 2
706 variables:
707 DEQP_VER: gles3
708 extends: softpipe-gles2
709
710 softpipe-gles31:
711 parallel: 4
712 variables:
713 DEQP_VER: gles31
714 extends: softpipe-gles2
715
716 # Rules for tests that should not be present in MRs or the main
717 # project's pipeline (don't block marge or report red on
718 # mesa/mesamaster) but should be present on pipelines in personal
719 # branches (so you can opt in to running the flaky test when you want
720 # to).
721 .test-manual:
722 rules:
723 # Never test in the main project.
724 - if: '$CI_PROJECT_PATH == "mesa/mesa"'
725 when: never
726 # Never test in merge requests.
727 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
728 when: never
729 # Otherwise, allow testing manually for personal branches.
730 - when: manual
731
732 arm64_a630_gles2:
733 extends:
734 - .deqp-test-gl
735 - .use-arm_test
736 - .freedreno-rules
737 variables:
738 DEQP_VER: gles2
739 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
740 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
741 NIR_VALIDATE: 0
742 DEQP_PARALLEL: 4
743 FLAKES_CHANNEL: "#freedreno-ci"
744 tags:
745 - mesa-cheza
746 dependencies:
747 - meson-arm64
748
749 arm64_a630_gles31:
750 extends: arm64_a630_gles2
751 variables:
752 DEQP_VER: gles31
753
754 arm64_a630_gles3:
755 extends: arm64_a630_gles2
756 variables:
757 DEQP_VER: gles3
758
759 .baremetal-test:
760 extends:
761 - .ci-run-policy
762 stage: test
763
764 arm64_a306_gles2:
765 extends:
766 - .baremetal-test
767 - .use-arm_build
768 - .freedreno-rules
769 variables:
770 BM_KERNEL: /lava-files/Image.gz
771 BM_DTB: /lava-files/apq8016-sbc.dtb
772 BM_ROOTFS: /lava-files/rootfs-arm64
773 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
774 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
775 DEQP_SKIPS: deqp-freedreno-a307-skips.txt
776 DEQP_VER: gles2
777 DEQP_PARALLEL: 4
778 script:
779 - .gitlab-ci/bare-metal/fastboot.sh
780 needs:
781 - meson-arm64
782 tags:
783 - google-freedreno-db410c
784
785 # Disabled due to flaky results
786 arm64_a306_gles3:
787 extends:
788 - arm64_a306_gles2
789 - .test-manual
790 parallel: 8
791 variables:
792 DEQP_VER: gles3
793
794 arm64_a530_gles2:
795 extends:
796 - arm64_a306_gles2
797 stage: freedreno
798 variables:
799 BM_KERNEL: /lava-files/db820c-kernel
800 BM_DTB: /lava-files/db820c.dtb
801 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
802 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
803 DEQP_SKIPS: deqp-freedreno-a530-skips.txt
804 tags:
805 - google-freedreno-db820c
806
807 arm64_a530_gles3:
808 extends:
809 - arm64_a530_gles2
810 - .test-manual
811 parallel: 6
812 variables:
813 DEQP_VER: gles3
814
815 # RADV CI
816 .test-radv:
817 extends: .radv-rules
818 stage: radv
819 variables:
820 VK_DRIVER: radeon
821 RADV_DEBUG: checkir
822
823 .test-radv-fossilize:
824 extends:
825 - .fossilize-test
826 - .test-radv
827 script:
828 - ./install/fossilize-runner.sh
829 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
830
831 # Can only be triggered manually on personal branches because RADV is the only
832 # driver that does Vulkan testing at the moment.
833 radv_polaris10_vkcts:
834 extends:
835 - .deqp-test-vk
836 - .test-radv
837 - .test-manual
838 variables:
839 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
840 tags:
841 - polaris10
842
843 radv-fossils:
844 extends:
845 - .fossilize-test
846 - .test-radv
847 script:
848 # Polaris10
849 - export RADV_FORCE_FAMILY="polaris10"
850 - ./install/fossilize-runner.sh
851 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
852 # Vega10
853 - export RADV_FORCE_FAMILY="gfx900"
854 - ./install/fossilize-runner.sh
855 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
856 # Navi10
857 - export RADV_FORCE_FAMILY="gfx1010"
858 - ./install/fossilize-runner.sh
859 - ACO_DEBUG=validateir,validatera RADV_PERFTEST=aco ./install/fossilize-runner.sh
860
861 # Traces CI
862 .traces-test:
863 cache:
864 key: ${CI_JOB_NAME}
865 paths:
866 - traces-db/
867
868 .traces-test-gl:
869 extends:
870 - .test-gl
871 - .traces-test
872 script:
873 - ./install/tracie-runner-gl.sh
874
875 .traces-test-vk:
876 extends:
877 - .test-vk
878 - .traces-test
879 script:
880 - ./install/tracie-runner-vk.sh
881
882 llvmpipe-traces:
883 extends:
884 - .traces-test-gl
885 - .llvmpipe-rules
886 variables:
887 LIBGL_ALWAYS_SOFTWARE: "true"
888 GALLIUM_DRIVER: "llvmpipe"
889 DEVICE_NAME: "gl-vmware-llvmpipe"
890
891 radv-polaris10-traces:
892 extends:
893 - .traces-test-vk
894 - .test-radv
895 - .test-manual
896 variables:
897 DEVICE_NAME: "vk-amd-polaris10"
898 tags:
899 - polaris10