2 FDO_UPSTREAM_REPO: mesa/mesa
3 CI_PRE_CLONE_SCRIPT: |-
5 /usr/bin/wget -q -O- ${CI_PROJECT_URL}/-/raw/${CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.sh | sh -
9 - project: 'freedesktop/ci-templates'
10 ref: &ci-templates-sha 52dd4a94044449c8481d18dcdc221a3c636366d2
11 file: '/templates/debian.yml'
12 - project: 'freedesktop/ci-templates'
13 ref: *ci-templates-sha
14 file: '/templates/alpine.yml'
15 - local: '.gitlab-ci/lava-gitlab-ci.yml'
16 - local: '.gitlab-ci/test-source-dep.yml'
36 # Generic rule to not run the job during scheduled pipelines
37 # ----------------------------------------------------------
38 .scheduled_pipelines-rules:
39 rules: &ignore_scheduled_pipelines
40 if: '$CI_PIPELINE_SOURCE == "schedule"'
44 extends: .ci-run-policy
47 - apk --no-cache add py3-pip graphviz
48 - pip3 install sphinx sphinx_rtd_theme
49 - sphinx-build -b html docs public
58 - *ignore_scheduled_pipelines
59 - if: '$CI_PROJECT_NAMESPACE == "mesa" && $CI_COMMIT_REF_NAME == "master"'
64 # Other cases default to never
68 # Cancel job if a newer commit is pushed to the same branch
72 - *ignore_scheduled_pipelines
73 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
76 - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == "mesa/mesa"'
79 - changes: *docs-or-ci
81 # Other cases default to never
83 # When to automatically run the CI
86 - *ignore_scheduled_pipelines
87 # If any files affecting the pipeline are changed, build/test jobs run
88 # automatically once all dependency jobs have passed
92 - bin/install_megadrivers.py
93 - bin/meson_get_version.py
94 - bin/symbols-check.py
110 # Otherwise, build/test jobs won't run
115 - runner_system_failure
119 image: debian:stable-slim
121 - *ignore_scheduled_pipelines
122 - if: '$CI_PROJECT_NAMESPACE == "mesa"'
124 - if: '$GITLAB_USER_LOGIN == "marge-bot"'
127 - changes: *all_paths
133 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
138 name: "mesa_${CI_JOB_NAME}"
142 # Watch out! Artifacts are relative to the build dir.
143 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
146 # Build the CI docker images.
148 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
149 # image doesn't exist yet, the container stage job generates it.
151 # In order to generate a new image, one should generally change the tag.
152 # While removing the image from the registry would also work, that's not
153 # recommended except for ephemeral images during development: Replacing
154 # an image after a significant amount of time might pull in newer
155 # versions of gcc/clang or other packages, which might break the build
156 # with older commits using the same tag.
158 # After merging a change resulting in generating a new image to the
159 # main repository, it's recommended to remove the image from the source
160 # repository's container registry, so that the image from the main
161 # repository's registry will be used there as well.
164 stage: container+docs
168 - *ignore_scheduled_pipelines
169 # Run pipeline by default in the main project if any CI pipeline
170 # configuration files were changed, to ensure docker images are up to date
171 - if: '$CI_PROJECT_PATH == "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
176 # Run pipeline by default if it was triggered by Marge Bot, is for a
177 # merge request, and any files affecting the pipeline were changed
178 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
182 # Run pipeline by default in the main project if it was not triggered by
183 # Marge Bot, and any files affecting the pipeline were changed
184 - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == "mesa/mesa"'
188 # Allow triggering jobs manually in other cases if any files affecting the
189 # pipeline were changed
193 # Otherwise, container jobs won't run
196 FDO_DISTRIBUTION_VERSION: buster-slim
197 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
198 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
199 # no need to pull the whole repo to build the container image
202 # Debian 10 based x86 build image base
205 - .fdo.container-build@debian
208 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-08-13-gold"
216 BASE_TAG: *x86_build-base
217 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
221 # Debian 10 based x86 main build image
224 - .use-x86_build-base
226 FDO_DISTRIBUTION_TAG: &x86_build "2020-08-13-gold"
231 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
235 # Debian 10 based i386 cross-build image
238 - .use-x86_build-base
240 FDO_DISTRIBUTION_TAG: &i386_build "2020-08-13-gold"
245 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
249 # Debian 10 based ppc64el cross-build image
252 - .use-x86_build-base
254 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-08-13-gold"
259 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
263 # Debian 10 based s390x cross-build image
266 - .use-x86_build-base
268 FDO_DISTRIBUTION_TAG: &s390x_build "2020-08-13-gold"
273 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
277 # Debian 10 based x86 test image base
279 extends: x86_build-base
281 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-08-13-gold"
289 BASE_TAG: *x86_test-base
290 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
294 # Debian 10 based x86 test image for GL
296 extends: .use-x86_test-base
298 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-08-24-gold"
300 # Debian 10 based x86 test image for VK
302 extends: .use-x86_test-base
304 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-08-13-gold"
306 # Debian 9 based x86 build image (old LLVM)
308 extends: x86_build-base
310 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-08-13-gold"
311 FDO_DISTRIBUTION_VERSION: stretch-slim
316 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
320 # Debian 10 based ARM build image
323 - .fdo.container-build@debian@arm64v8
326 FDO_DISTRIBUTION_TAG: &arm_build "2020-08-13-gold"
331 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
335 # Debian 10 based x86 baremetal image base
338 - .fdo.container-build@debian
341 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-08-13-gold"
349 BASE_TAG: *arm_test-base
350 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
354 # x86 image with ARM64 rootfs for baremetal testing.
359 FDO_DISTRIBUTION_TAG: &arm64_test "2020-08-24-gold"
364 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
368 # Native Windows docker builds
370 # Unlike the above Linux-based builds - including MinGW/SCons builds which
371 # cross-compile for Windows - which use the freedesktop ci-templates, we
372 # cannot use the same scheme here. As Windows lacks support for
373 # Docker-in-Docker, and Podman does not run natively on Windows, we have
374 # to open-code much of the same ourselves.
376 # This is achieved by first running in a native Windows shell instance
377 # (host PowerShell) in the container stage to build and push the image,
378 # then in the build stage by executing inside Docker.
380 .windows-docker-vs2019:
382 WINDOWS_TAG: "2020-05-05-llvm"
383 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
384 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
386 .windows_build_vs2019:
389 - .windows-docker-vs2019
390 stage: container+docs
392 GIT_STRATEGY: fetch # we do actually need the full repository though
393 timeout: 4h # LLVM takes ages
400 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
402 .use-windows_build_vs2019:
403 extends: .windows-docker-vs2019
404 image: "$WINDOWS_IMAGE"
406 - windows_build_vs2019
409 extends: .fdo.container-build@alpine
410 stage: container+docs
412 - if: '$CI_PIPELINE_SOURCE == "schedule"'
415 FDO_REPO_SUFFIX: &git-archive-suffix "alpine/git_archive"
416 FDO_DISTRIBUTION_EXEC: 'pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366'
417 # no need to pull the whole repo to build the container image
419 FDO_DISTRIBUTION_TAG: &git-archive-tag "2020-07-07"
420 FDO_DISTRIBUTION_PACKAGES: git py3-pip
427 extends: .fdo.suffixed-image@alpine
429 - if: '$CI_PIPELINE_SOURCE == "schedule"'
431 # ensure we are running on packet
435 FDO_DISTRIBUTION_TAG: *git-archive-tag
436 FDO_REPO_SUFFIX: *git-archive-suffix
441 # compress the current folder
442 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
444 # login with the JWT token
445 - ci-fairy minio login $CI_JOB_JWT
446 - ci-fairy minio cp ../$CI_PROJECT_NAME.tar.gz minio://minio-packet.freedesktop.org/git-cache/$CI_PROJECT_NAMESPACE/$CI_PROJECT_NAME/$CI_PROJECT_NAME.tar.gz
451 # Shared between windows and Linux
453 extends: .ci-run-policy
454 # Cancel job if a newer commit is pushed to the same branch
457 name: "mesa_${CI_JOB_NAME}"
460 - _build/meson-logs/*.txt
467 extends: .build-common
469 CCACHE_COMPILERCHECK: "content"
470 CCACHE_COMPRESS: "true"
471 CCACHE_DIR: /cache/mesa/ccache
472 # Use ccache transparently, and print stats before/after
474 - export PATH="/usr/lib/ccache:$PATH"
475 - export CCACHE_BASEDIR="$PWD"
476 - ccache --show-stats
478 - ccache --show-stats
481 extends: .build-common
490 - subprojects/packagecache
500 - .gitlab-ci/meson-build.sh
508 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
523 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
525 BUILDTYPE: "debugoptimized"
531 - .gitlab-ci/meson-build.sh
532 - .gitlab-ci/prepare-artifacts.sh
535 extends: .meson-build
542 -D platforms=x11,wayland
545 -D gallium-extra-hud=true
546 -D gallium-vdpau=enabled
547 -D gallium-xvmc=enabled
548 -D gallium-omx=bellagio
549 -D gallium-va=enabled
550 -D gallium-xa=enabled
552 -D gallium-opencl=disabled
553 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
554 VULKAN_DRIVERS: swrast
560 - .gitlab-ci/meson-build.sh
561 - .gitlab-ci/run-shader-db.sh
562 - src/freedreno/.gitlab-ci/run-fdtools.sh
564 # Test a release build with -Werror so new warnings don't sneak in.
566 extends: .meson-build
573 -D platforms=x11,wayland
576 -D gallium-extra-hud=true
577 -D gallium-vdpau=enabled
578 -D gallium-xvmc=disabled
579 -D gallium-omx=disabled
580 -D gallium-va=enabled
581 -D gallium-xa=enabled
582 -D gallium-nine=false
583 -D gallium-opencl=disabled
585 GALLIUM_DRIVERS: "nouveau,kmsro,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
592 - .gitlab-ci/meson-build.sh
595 extends: .meson-build
602 -D platforms=x11,wayland,drm,surfaceless
610 extends: .meson-build
618 GALLIUM_DRIVERS: freedreno
619 VULKAN_DRIVERS: freedreno,intel,amd
625 -D gallium-vdpau=disabled
626 -D gallium-xvmc=disabled
627 -D gallium-omx=disabled
628 -D gallium-va=disabled
629 -D gallium-xa=disabled
630 -D gallium-nine=false
631 -D gallium-opencl=disabled
647 -D gallium-vdpau=disabled
648 -D gallium-xvmc=disabled
649 -D gallium-omx=disabled
650 -D gallium-va=disabled
651 -D gallium-xa=disabled
652 -D gallium-nine=false
660 VULKAN_DRIVERS: freedreno
661 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
662 BUILDTYPE: "debugoptimized"
678 - .gitlab-ci/meson-build.sh
679 - .gitlab-ci/prepare-artifacts.sh
686 VULKAN_DRIVERS: "freedreno"
692 - .gitlab-ci/meson-build.sh
693 - .gitlab-ci/prepare-artifacts.sh
695 meson-arm64-build-test:
700 VULKAN_DRIVERS: "amd"
704 - .gitlab-ci/meson-build.sh
707 extends: .meson-build
713 GALLIUM_DRIVERS: "auto"
714 VULKAN_DRIVERS: intel,amd,freedreno
716 CXX: "ccache clang++-9"
718 .meson-windows-vs2019:
721 - .use-windows_build_vs2019
724 - . .\.gitlab-ci\windows\mesa_build.ps1
727 extends: .scons-build
729 SCONS_TARGET: platform=windows machine=x86_64 debug=1
730 SCONS_CHECK_COMMAND: "true"
734 extends: .meson-build
741 GALLIUM_DRIVERS: "r600,radeonsi"
744 -D gallium-vdpau=disabled
745 -D gallium-xvmc=disabled
746 -D gallium-omx=disabled
747 -D gallium-va=disabled
748 -D gallium-xa=disabled
749 -D gallium-nine=false
750 -D gallium-opencl=icd
752 - .gitlab-ci/meson-build.sh
753 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
755 meson-clover-old-llvm:
766 GALLIUM_DRIVERS: "i915,r600"
768 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
769 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
770 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
771 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
772 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
775 extends: .meson-build
782 -D platforms=x11,wayland
786 -D gallium-vdpau=disabled
787 -D gallium-xvmc=disabled
788 -D gallium-omx=disabled
789 -D gallium-va=disabled
790 -D gallium-xa=disabled
791 -D gallium-nine=false
792 -D gallium-opencl=disabled
793 -D b_sanitize=undefined
794 -D c_args=-fno-sanitize-recover=all
795 -D cpp_args=-fno-sanitize-recover=all
796 UBSAN_OPTIONS: "print_stacktrace=1"
797 VULKAN_DRIVERS: intel,amd,freedreno
799 -D vulkan-overlay-layer=true
800 -D build-aco-tests=true
809 VULKAN_DRIVERS: intel,amd
810 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
812 -D vulkan-overlay-layer=true
825 GALLIUM_DRIVERS: "swrast"
834 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
835 VULKAN_DRIVERS: "amd"
837 meson-mingw32-x86_64:
838 extends: .meson-build
843 GALLIUM_DRIVERS: "swrast"
847 --cross-file=.gitlab-ci/x86_64-w64-mingw32
852 # Cancel job if a newer commit is pushed to the same branch
855 GIT_STRATEGY: none # testing doesn't build anything from source
857 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
859 - tar -xf artifacts/install.tar
860 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
863 name: "mesa_${CI_JOB_NAME}"
872 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
882 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
893 name: "mesa_${CI_JOB_NAME}"
897 LIBGL_ALWAYS_SOFTWARE: 1
900 - install/piglit/run.sh
903 extends: .piglit-test
908 --process-isolation false
910 -x egl_ext_platform_device
911 -x ext_timer_query@time-elapsed
912 -x glx-multithread-clearbuffer
913 -x glx-multithread-shader-compile
916 PIGLIT_PROFILES: quick_gl
919 extends: .piglit-test
923 PIGLIT_PROFILES: glslparser
926 extends: .piglit-test
930 PIGLIT_PROFILES: quick_shader
934 DEQP_SKIPS: deqp-default-skips.txt
936 - ./install/deqp-runner.sh
953 - ./install/fossilize-runner.sh
956 name: "mesa_${CI_JOB_NAME}"
964 # Don't use threads inside llvmpipe, we've already got all cores
965 # busy at the deqp-runner level.
967 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
968 LIBGL_ALWAYS_SOFTWARE: "true"
969 DEQP_EXPECTED_RENDERER: llvmpipe
979 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
980 DEQP_SKIPS: deqp-softpipe-skips.txt
981 GALLIUM_DRIVER: "softpipe"
982 DEQP_EXPECTED_RENDERER: softpipe
987 extends: softpipe-gles2
993 extends: softpipe-gles2
995 # Note that KHR-GL3* test sets include all tests from the previous
996 # version, so we only need to run one test list (unlike dEQP-GLES,
997 # where the test sets are separate).
1008 DEQP_NO_SAVE_RESULTS: 1
1009 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1010 # Don't use threads inside llvmpipe, we've already got all cores
1011 # busy at the deqp-runner level.
1013 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1014 DEQP_OPTIONS: "--deqp-log-images=disable"
1015 LIBGL_ALWAYS_SOFTWARE: "true"
1016 GALLIUM_DRIVER: "virpipe"
1017 DEQP_EXPECTED_RENDERER: virgl
1025 DEQP_RUNNER_OPTIONS: "--timeout 180"
1026 extends: virgl-gles2-on-gl
1032 MESA_GLES_VERSION_OVERRIDE: "3.1"
1033 MESA_GLSL_VERSION_OVERRIDE: "310"
1034 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1035 extends: virgl-gles3-on-gl
1040 extends: virgl-gles2-on-gl
1045 extends: virgl-gles2-on-gl
1050 extends: virgl-gles2-on-gl
1052 # Rules for tests that should not be present in MRs or the main
1053 # project's pipeline (don't block marge or report red on
1054 # mesa/mesamaster) but should be present on pipelines in personal
1055 # branches (so you can opt in to running the flaky test when you want
1059 - *ignore_scheduled_pipelines
1060 - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
1066 virgl-gles2-on-gles:
1068 VIRGL_HOST_API: GLES
1069 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1074 virgl-gles3-on-gles:
1076 VIRGL_HOST_API: GLES
1077 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1082 virgl-gles31-on-gles:
1084 VIRGL_HOST_API: GLES
1085 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1087 - virgl-gles31-on-gl
1094 BM_KERNEL: /lava-files/cheza-kernel
1095 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1096 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1097 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1099 DEQP_EXPECTED_RENDERER: FD630
1100 DEQP_NO_SAVE_RESULTS: ""
1102 - google-freedreno-cheza
1104 - ./install/bare-metal/cros-servo.sh
1107 extends: arm64_a630_gles2
1110 # gles31 is about 12 minutes with validation enabled.
1114 extends: arm64_a630_gles2
1117 # gles3 is about 15 minutes with validation enabled.
1120 # We almost always manage to lower UBOs back to constant uploads in
1121 # the test suite, so get a little testing for it here.
1123 extends: arm64_a630_gles31
1126 IR3_SHADER_DEBUG: nouboopt
1127 DEQP_CASELIST_FILTER: "functional.*ubo"
1129 # The driver does some guessing as to whether to render using gmem
1130 # or bypass, and some GLES3.1 features interact with either one.
1131 # Do a little testing with gmem and bypass forced.
1133 extends: arm64_a630_gles31
1137 FD_MESA_DEBUG: nogmem
1138 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1144 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1145 DEVICE_NAME: "freedreno-a630"
1146 DRIVER_NAME: "freedreno"
1147 TRACIE_NO_UNIT_TESTS: 1
1148 TRACIE_UPLOAD_TO_MINIO: 1
1149 # This lets us run several more traces which don't use any features we're
1151 MESA_GLSL_VERSION_OVERRIDE: "460"
1152 MESA_GL_VERSION_OVERRIDE: "4.6"
1154 # Along with checking gmem path, check that we don't get obvious nir
1155 # validation failures (though it's too expensive to have it on for the
1158 extends: arm64_a630_gles31
1162 FD_MESA_DEBUG: nobypass
1166 extends: arm64_a630_gles2
1171 VK_DRIVER: freedreno
1172 # Force binning in the main run, which makes sure we render at
1173 # least 2 bins. This is the path that impacts the most different
1174 # features. However, we end up with flaky results in
1175 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1178 # Do a separate sysmem pass over the testcases that really affect sysmem
1179 # rendering. This is currently very flaky, leave it as an option for devs
1180 # to click play on in their branches.
1181 arm64_a630_vk_sysmem:
1187 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1188 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1195 # Cancel job if a newer commit is pushed to the same branch
1200 name: "mesa_${CI_JOB_NAME}"
1211 BM_KERNEL: /lava-files/Image.gz
1212 BM_DTB: /lava-files/apq8016-sbc.dtb
1213 BM_ROOTFS: /lava-files/rootfs-arm64
1214 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1215 FLAKES_CHANNEL: "#freedreno-ci"
1216 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1217 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1218 DEQP_SKIPS: deqp-default-skips.txt
1219 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1222 DEQP_EXPECTED_RENDERER: FD307
1223 # Since we can't get artifacts back yet, skip making them.
1224 DEQP_NO_SAVE_RESULTS: 1
1225 # NIR_VALIDATE=0 left intentionally unset as a3xx is fast enough at its small testsuite.
1227 - ./install/bare-metal/fastboot.sh
1232 - google-freedreno-db410c
1234 # Fractional run, single threaded, due to flaky results
1245 # Fractional runs with debug options. Note that since we're not
1246 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1247 arm64_a306_gles3_options:
1248 extends: arm64_a306_gles2
1252 # Check that the non-constbuf UBO case works.
1253 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1259 BM_KERNEL: /lava-files/db820c-kernel
1260 BM_DTB: /lava-files/db820c.dtb
1261 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1262 # current upstream kernel.
1263 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1264 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1265 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1266 DEQP_EXPECTED_RENDERER: FD530
1269 - google-freedreno-db820c
1290 extends: .radv-rules
1294 ACO_DEBUG: validateir,validatera
1296 # Can only be triggered manually on personal branches because RADV is the only
1297 # driver that does Vulkan testing at the moment.
1298 radv_polaris10_vkcts:
1304 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1314 - export RADV_FORCE_FAMILY="pitcairn"
1315 - ./install/fossilize-runner.sh
1317 - export RADV_FORCE_FAMILY="bonaire"
1318 - ./install/fossilize-runner.sh
1320 - export RADV_FORCE_FAMILY="polaris10"
1321 - ./install/fossilize-runner.sh
1323 - export RADV_FORCE_FAMILY="gfx900"
1324 - ./install/fossilize-runner.sh
1326 - export RADV_FORCE_FAMILY="gfx1010"
1327 - ./install/fossilize-runner.sh
1328 # Sienna Cichlid (GFX10)
1329 - export RADV_FORCE_FAMILY="gfx1030"
1330 - ./install/fossilize-runner.sh
1339 TRACIE_UPLOAD_TO_MINIO: 1
1346 - ./install/tracie-runner-gl.sh
1353 - ./install/tracie-runner-vk.sh
1360 LIBGL_ALWAYS_SOFTWARE: "true"
1361 GALLIUM_DRIVER: "llvmpipe"
1362 DEVICE_NAME: "gl-vmware-llvmpipe"
1363 DRIVER_NAME: "llvmpipe"
1365 radv-polaris10-traces:
1371 DEVICE_NAME: "vk-amd-polaris10"
1382 DEVICE_NAME: "vk-amd-raven"
1392 LIBGL_ALWAYS_SOFTWARE: "true"
1393 GALLIUM_DRIVER: "virpipe"
1394 DEVICE_NAME: "gl-virgl"
1395 DRIVER_NAME: "virgl"
1396 MESA_GLES_VERSION_OVERRIDE: "3.1"
1397 MESA_GLSL_VERSION_OVERRIDE: "310"