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