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" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
124 - if: '$GITLAB_USER_LOGIN == "marge-bot"'
127 - changes: *all_paths
129 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
134 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
139 name: "mesa_${CI_JOB_NAME}"
143 # Watch out! Artifacts are relative to the build dir.
144 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
147 # Build the CI docker images.
149 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
150 # image doesn't exist yet, the container stage job generates it.
152 # In order to generate a new image, one should generally change the tag.
153 # While removing the image from the registry would also work, that's not
154 # recommended except for ephemeral images during development: Replacing
155 # an image after a significant amount of time might pull in newer
156 # versions of gcc/clang or other packages, which might break the build
157 # with older commits using the same tag.
159 # After merging a change resulting in generating a new image to the
160 # main repository, it's recommended to remove the image from the source
161 # repository's container registry, so that the image from the main
162 # repository's registry will be used there as well.
165 stage: container+docs
169 - *ignore_scheduled_pipelines
170 # Run pipeline by default in the main project if any CI pipeline
171 # configuration files were changed, to ensure docker images are up to date
172 - if: '$CI_PROJECT_PATH == "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
177 # Run pipeline by default if it was triggered by Marge Bot, is for a
178 # merge request, and any files affecting the pipeline were changed
179 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
183 # Run pipeline by default in the main project if it was not triggered by
184 # Marge Bot, and any files affecting the pipeline were changed
185 - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == "mesa/mesa"'
189 # Allow triggering jobs manually in other cases if any files affecting the
190 # pipeline were changed
194 # Otherwise, container jobs won't run
197 FDO_DISTRIBUTION_VERSION: buster-slim
198 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
199 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
200 # no need to pull the whole repo to build the container image
203 # Debian 10 based x86 build image base
206 - .fdo.container-build@debian
209 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-08-13-gold"
217 BASE_TAG: *x86_build-base
218 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
222 # Debian 10 based x86 main build image
225 - .use-x86_build-base
227 FDO_DISTRIBUTION_TAG: &x86_build "2020-08-13-gold"
232 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
236 # Debian 10 based i386 cross-build image
239 - .use-x86_build-base
241 FDO_DISTRIBUTION_TAG: &i386_build "2020-08-13-gold"
246 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
250 # Debian 10 based ppc64el cross-build image
253 - .use-x86_build-base
255 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-08-13-gold"
260 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
264 # Debian 10 based s390x cross-build image
267 - .use-x86_build-base
269 FDO_DISTRIBUTION_TAG: &s390x_build "2020-08-13-gold"
274 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
278 # Debian 10 based x86 test image base
280 extends: x86_build-base
282 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-08-13-gold"
290 BASE_TAG: *x86_test-base
291 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
295 # Debian 10 based x86 test image for GL
297 extends: .use-x86_test-base
299 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-08-24-gold"
301 # Debian 10 based x86 test image for VK
303 extends: .use-x86_test-base
305 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-08-13-gold"
307 # Debian 9 based x86 build image (old LLVM)
309 extends: x86_build-base
311 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-08-13-gold"
312 FDO_DISTRIBUTION_VERSION: stretch-slim
317 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
321 # Debian 10 based ARM build image
324 - .fdo.container-build@debian@arm64v8
327 FDO_DISTRIBUTION_TAG: &arm_build "2020-08-13-gold"
332 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
336 # Debian 10 based x86 baremetal image base
339 - .fdo.container-build@debian
342 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-08-13-gold"
350 BASE_TAG: *arm_test-base
351 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
355 # x86 image with ARM64 rootfs for baremetal testing.
360 FDO_DISTRIBUTION_TAG: &arm64_test "2020-08-24-gold"
365 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
369 # Native Windows docker builds
371 # Unlike the above Linux-based builds - including MinGW/SCons builds which
372 # cross-compile for Windows - which use the freedesktop ci-templates, we
373 # cannot use the same scheme here. As Windows lacks support for
374 # Docker-in-Docker, and Podman does not run natively on Windows, we have
375 # to open-code much of the same ourselves.
377 # This is achieved by first running in a native Windows shell instance
378 # (host PowerShell) in the container stage to build and push the image,
379 # then in the build stage by executing inside Docker.
381 .windows-docker-vs2019:
383 WINDOWS_TAG: "2020-05-05-llvm"
384 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
385 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
387 .windows_build_vs2019:
390 - .windows-docker-vs2019
391 stage: container+docs
393 GIT_STRATEGY: fetch # we do actually need the full repository though
394 timeout: 4h # LLVM takes ages
401 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
403 .use-windows_build_vs2019:
404 extends: .windows-docker-vs2019
405 image: "$WINDOWS_IMAGE"
407 - windows_build_vs2019
410 extends: .fdo.container-build@alpine
411 stage: container+docs
413 - if: '$CI_PIPELINE_SOURCE == "schedule"'
416 FDO_REPO_SUFFIX: &git-archive-suffix "alpine/git_archive"
417 FDO_DISTRIBUTION_EXEC: 'pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366'
418 # no need to pull the whole repo to build the container image
420 FDO_DISTRIBUTION_TAG: &git-archive-tag "2020-07-07"
421 FDO_DISTRIBUTION_PACKAGES: git py3-pip
428 extends: .fdo.suffixed-image@alpine
430 - if: '$CI_PIPELINE_SOURCE == "schedule"'
432 # ensure we are running on packet
436 FDO_DISTRIBUTION_TAG: *git-archive-tag
437 FDO_REPO_SUFFIX: *git-archive-suffix
442 # compress the current folder
443 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
445 # login with the JWT token
446 - ci-fairy minio login $CI_JOB_JWT
447 - 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
452 # Shared between windows and Linux
454 extends: .ci-run-policy
455 # Cancel job if a newer commit is pushed to the same branch
458 name: "mesa_${CI_JOB_NAME}"
461 - _build/meson-logs/*.txt
468 extends: .build-common
470 CCACHE_COMPILERCHECK: "content"
471 CCACHE_COMPRESS: "true"
472 CCACHE_DIR: /cache/mesa/ccache
473 # Use ccache transparently, and print stats before/after
475 - export PATH="/usr/lib/ccache:$PATH"
476 - export CCACHE_BASEDIR="$PWD"
477 - ccache --show-stats
479 - ccache --show-stats
482 extends: .build-common
491 - subprojects/packagecache
501 - .gitlab-ci/meson-build.sh
509 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
524 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
526 BUILDTYPE: "debugoptimized"
532 - .gitlab-ci/meson-build.sh
533 - .gitlab-ci/prepare-artifacts.sh
536 extends: .meson-build
543 -D platforms=x11,wayland
546 -D gallium-extra-hud=true
547 -D gallium-vdpau=enabled
548 -D gallium-xvmc=enabled
549 -D gallium-omx=bellagio
550 -D gallium-va=enabled
551 -D gallium-xa=enabled
553 -D gallium-opencl=disabled
554 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
555 VULKAN_DRIVERS: swrast
561 - .gitlab-ci/meson-build.sh
562 - .gitlab-ci/run-shader-db.sh
563 - src/freedreno/.gitlab-ci/run-fdtools.sh
565 # Test a release build with -Werror so new warnings don't sneak in.
567 extends: .meson-build
574 -D platforms=x11,wayland
577 -D gallium-extra-hud=true
578 -D gallium-vdpau=enabled
579 -D gallium-xvmc=disabled
580 -D gallium-omx=disabled
581 -D gallium-va=enabled
582 -D gallium-xa=enabled
583 -D gallium-nine=false
584 -D gallium-opencl=disabled
586 GALLIUM_DRIVERS: "nouveau,kmsro,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
593 - .gitlab-ci/meson-build.sh
596 extends: .meson-build
603 -D platforms=x11,wayland,drm,surfaceless
611 extends: .meson-build
619 GALLIUM_DRIVERS: freedreno
620 VULKAN_DRIVERS: freedreno,intel,amd
626 -D gallium-vdpau=disabled
627 -D gallium-xvmc=disabled
628 -D gallium-omx=disabled
629 -D gallium-va=disabled
630 -D gallium-xa=disabled
631 -D gallium-nine=false
632 -D gallium-opencl=disabled
648 -D gallium-vdpau=disabled
649 -D gallium-xvmc=disabled
650 -D gallium-omx=disabled
651 -D gallium-va=disabled
652 -D gallium-xa=disabled
653 -D gallium-nine=false
661 VULKAN_DRIVERS: freedreno
662 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
663 BUILDTYPE: "debugoptimized"
679 - .gitlab-ci/meson-build.sh
680 - .gitlab-ci/prepare-artifacts.sh
687 VULKAN_DRIVERS: "freedreno"
693 - .gitlab-ci/meson-build.sh
694 - .gitlab-ci/prepare-artifacts.sh
696 meson-arm64-build-test:
701 VULKAN_DRIVERS: "amd"
705 - .gitlab-ci/meson-build.sh
708 extends: .meson-build
714 GALLIUM_DRIVERS: "auto"
715 VULKAN_DRIVERS: intel,amd,freedreno
717 CXX: "ccache clang++-9"
719 .meson-windows-vs2019:
722 - .use-windows_build_vs2019
725 - . .\.gitlab-ci\windows\mesa_build.ps1
728 extends: .scons-build
730 SCONS_TARGET: platform=windows machine=x86_64 debug=1
731 SCONS_CHECK_COMMAND: "true"
735 extends: .meson-build
742 GALLIUM_DRIVERS: "r600,radeonsi"
745 -D gallium-vdpau=disabled
746 -D gallium-xvmc=disabled
747 -D gallium-omx=disabled
748 -D gallium-va=disabled
749 -D gallium-xa=disabled
750 -D gallium-nine=false
751 -D gallium-opencl=icd
753 - .gitlab-ci/meson-build.sh
754 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
756 meson-clover-old-llvm:
767 GALLIUM_DRIVERS: "i915,r600"
769 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
770 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
771 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
772 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
773 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
776 extends: .meson-build
783 -D platforms=x11,wayland
787 -D gallium-vdpau=disabled
788 -D gallium-xvmc=disabled
789 -D gallium-omx=disabled
790 -D gallium-va=disabled
791 -D gallium-xa=disabled
792 -D gallium-nine=false
793 -D gallium-opencl=disabled
794 -D b_sanitize=undefined
795 -D c_args=-fno-sanitize-recover=all
796 -D cpp_args=-fno-sanitize-recover=all
797 UBSAN_OPTIONS: "print_stacktrace=1"
798 VULKAN_DRIVERS: intel,amd,freedreno
800 -D vulkan-overlay-layer=true
801 -D build-aco-tests=true
810 VULKAN_DRIVERS: intel,amd
811 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
813 -D vulkan-overlay-layer=true
826 GALLIUM_DRIVERS: "swrast"
835 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
836 VULKAN_DRIVERS: "amd"
838 meson-mingw32-x86_64:
839 extends: .meson-build
844 GALLIUM_DRIVERS: "swrast"
848 --cross-file=.gitlab-ci/x86_64-w64-mingw32
853 # Cancel job if a newer commit is pushed to the same branch
856 GIT_STRATEGY: none # testing doesn't build anything from source
858 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
860 - tar -xf artifacts/install.tar
861 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
864 name: "mesa_${CI_JOB_NAME}"
873 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
883 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
894 name: "mesa_${CI_JOB_NAME}"
898 LIBGL_ALWAYS_SOFTWARE: 1
901 - install/piglit/run.sh
904 extends: .piglit-test
909 --process-isolation false
911 -x egl_ext_platform_device
912 -x ext_timer_query@time-elapsed
913 -x glx-multithread-clearbuffer
914 -x glx-multithread-shader-compile
917 PIGLIT_PROFILES: quick_gl
920 extends: .piglit-test
924 PIGLIT_PROFILES: glslparser
927 extends: .piglit-test
931 PIGLIT_PROFILES: quick_shader
935 DEQP_SKIPS: deqp-default-skips.txt
937 - ./install/deqp-runner.sh
954 - ./install/fossilize-runner.sh
957 name: "mesa_${CI_JOB_NAME}"
965 # Don't use threads inside llvmpipe, we've already got all cores
966 # busy at the deqp-runner level.
968 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
969 LIBGL_ALWAYS_SOFTWARE: "true"
970 DEQP_EXPECTED_RENDERER: llvmpipe
980 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
981 DEQP_SKIPS: deqp-softpipe-skips.txt
982 GALLIUM_DRIVER: "softpipe"
983 DEQP_EXPECTED_RENDERER: softpipe
988 extends: softpipe-gles2
994 extends: softpipe-gles2
996 # Note that KHR-GL3* test sets include all tests from the previous
997 # version, so we only need to run one test list (unlike dEQP-GLES,
998 # where the test sets are separate).
1009 DEQP_NO_SAVE_RESULTS: 1
1010 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1011 # Don't use threads inside llvmpipe, we've already got all cores
1012 # busy at the deqp-runner level.
1014 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1015 DEQP_OPTIONS: "--deqp-log-images=disable"
1016 LIBGL_ALWAYS_SOFTWARE: "true"
1017 GALLIUM_DRIVER: "virpipe"
1018 DEQP_EXPECTED_RENDERER: virgl
1026 DEQP_RUNNER_OPTIONS: "--timeout 180"
1027 extends: virgl-gles2-on-gl
1033 MESA_GLES_VERSION_OVERRIDE: "3.1"
1034 MESA_GLSL_VERSION_OVERRIDE: "310"
1035 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1036 extends: virgl-gles3-on-gl
1041 extends: virgl-gles2-on-gl
1046 extends: virgl-gles2-on-gl
1051 extends: virgl-gles2-on-gl
1053 # Rules for tests that should not be present in MRs or the main
1054 # project's pipeline (don't block marge or report red on
1055 # mesa/mesamaster) but should be present on pipelines in personal
1056 # branches (so you can opt in to running the flaky test when you want
1060 - *ignore_scheduled_pipelines
1061 - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
1067 virgl-gles2-on-gles:
1069 VIRGL_HOST_API: GLES
1070 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1075 virgl-gles3-on-gles:
1077 VIRGL_HOST_API: GLES
1078 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1083 virgl-gles31-on-gles:
1085 VIRGL_HOST_API: GLES
1086 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1088 - virgl-gles31-on-gl
1095 BM_KERNEL: /lava-files/cheza-kernel
1096 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1097 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1098 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1100 DEQP_EXPECTED_RENDERER: FD630
1101 DEQP_NO_SAVE_RESULTS: ""
1103 - google-freedreno-cheza
1105 - ./install/bare-metal/cros-servo.sh
1108 extends: arm64_a630_gles2
1111 # gles31 is about 12 minutes with validation enabled.
1115 extends: arm64_a630_gles2
1118 # gles3 is about 15 minutes with validation enabled.
1121 # We almost always manage to lower UBOs back to constant uploads in
1122 # the test suite, so get a little testing for it here.
1124 extends: arm64_a630_gles31
1127 IR3_SHADER_DEBUG: nouboopt
1128 DEQP_CASELIST_FILTER: "functional.*ubo"
1130 # The driver does some guessing as to whether to render using gmem
1131 # or bypass, and some GLES3.1 features interact with either one.
1132 # Do a little testing with gmem and bypass forced.
1134 extends: arm64_a630_gles31
1138 FD_MESA_DEBUG: nogmem
1139 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1145 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1146 DEVICE_NAME: "freedreno-a630"
1147 DRIVER_NAME: "freedreno"
1148 TRACIE_NO_UNIT_TESTS: 1
1149 TRACIE_UPLOAD_TO_MINIO: 1
1150 # This lets us run several more traces which don't use any features we're
1152 MESA_GLSL_VERSION_OVERRIDE: "460"
1153 MESA_GL_VERSION_OVERRIDE: "4.6"
1155 # Along with checking gmem path, check that we don't get obvious nir
1156 # validation failures (though it's too expensive to have it on for the
1159 extends: arm64_a630_gles31
1163 FD_MESA_DEBUG: nobypass
1167 extends: arm64_a630_gles2
1172 VK_DRIVER: freedreno
1173 # Force binning in the main run, which makes sure we render at
1174 # least 2 bins. This is the path that impacts the most different
1175 # features. However, we end up with flaky results in
1176 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1179 # Do a separate sysmem pass over the testcases that really affect sysmem
1180 # rendering. This is currently very flaky, leave it as an option for devs
1181 # to click play on in their branches.
1182 arm64_a630_vk_sysmem:
1188 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1189 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1196 # Cancel job if a newer commit is pushed to the same branch
1201 name: "mesa_${CI_JOB_NAME}"
1212 BM_KERNEL: /lava-files/Image.gz
1213 BM_DTB: /lava-files/apq8016-sbc.dtb
1214 BM_ROOTFS: /lava-files/rootfs-arm64
1215 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1216 FLAKES_CHANNEL: "#freedreno-ci"
1217 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1218 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1219 DEQP_SKIPS: deqp-default-skips.txt
1220 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1223 DEQP_EXPECTED_RENDERER: FD307
1224 # Since we can't get artifacts back yet, skip making them.
1225 DEQP_NO_SAVE_RESULTS: 1
1226 # NIR_VALIDATE=0 left intentionally unset as a3xx is fast enough at its small testsuite.
1228 - ./install/bare-metal/fastboot.sh
1233 - google-freedreno-db410c
1235 # Fractional run, single threaded, due to flaky results
1246 # Fractional runs with debug options. Note that since we're not
1247 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1248 arm64_a306_gles3_options:
1249 extends: arm64_a306_gles2
1253 # Check that the non-constbuf UBO case works.
1254 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1260 BM_KERNEL: /lava-files/db820c-kernel
1261 BM_DTB: /lava-files/db820c.dtb
1262 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1263 # current upstream kernel.
1264 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1265 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1266 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1267 DEQP_EXPECTED_RENDERER: FD530
1270 - google-freedreno-db820c
1291 extends: .radv-rules
1295 ACO_DEBUG: validateir,validatera
1297 # Can only be triggered manually on personal branches because RADV is the only
1298 # driver that does Vulkan testing at the moment.
1299 radv_polaris10_vkcts:
1305 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1315 - export RADV_FORCE_FAMILY="pitcairn"
1316 - ./install/fossilize-runner.sh
1318 - export RADV_FORCE_FAMILY="bonaire"
1319 - ./install/fossilize-runner.sh
1321 - export RADV_FORCE_FAMILY="polaris10"
1322 - ./install/fossilize-runner.sh
1324 - export RADV_FORCE_FAMILY="gfx900"
1325 - ./install/fossilize-runner.sh
1327 - export RADV_FORCE_FAMILY="gfx1010"
1328 - ./install/fossilize-runner.sh
1329 # Sienna Cichlid (GFX10)
1330 - export RADV_FORCE_FAMILY="gfx1030"
1331 - ./install/fossilize-runner.sh
1340 TRACIE_UPLOAD_TO_MINIO: 1
1347 - ./install/tracie-runner-gl.sh
1354 - ./install/tracie-runner-vk.sh
1361 LIBGL_ALWAYS_SOFTWARE: "true"
1362 GALLIUM_DRIVER: "llvmpipe"
1363 DEVICE_NAME: "gl-vmware-llvmpipe"
1364 DRIVER_NAME: "llvmpipe"
1366 radv-polaris10-traces:
1372 DEVICE_NAME: "vk-amd-polaris10"
1383 DEVICE_NAME: "vk-amd-raven"
1393 LIBGL_ALWAYS_SOFTWARE: "true"
1394 GALLIUM_DRIVER: "virpipe"
1395 DEVICE_NAME: "gl-virgl"
1396 DRIVER_NAME: "virgl"
1397 MESA_GLES_VERSION_OVERRIDE: "3.1"
1398 MESA_GLSL_VERSION_OVERRIDE: "310"