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