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