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 - if: '$CI_PROJECT_PATH != "mesa/mesa" || $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
82 # Other cases default to never
84 # When to automatically run the CI
87 - *ignore_scheduled_pipelines
88 # If any files affecting the pipeline are changed, build/test jobs run
89 # automatically once all dependency jobs have passed
93 - bin/install_megadrivers.py
94 - bin/meson_get_version.py
95 - bin/symbols-check.py
111 # Otherwise, build/test jobs won't run
116 - runner_system_failure
120 image: debian:stable-slim
122 - *ignore_scheduled_pipelines
123 - if: '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
125 - if: '$GITLAB_USER_LOGIN == "marge-bot"'
128 - changes: *all_paths
130 - if: '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
135 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
140 name: "mesa_${CI_JOB_NAME}"
144 # Watch out! Artifacts are relative to the build dir.
145 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
148 # Build the CI docker images.
150 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
151 # image doesn't exist yet, the container stage job generates it.
153 # In order to generate a new image, one should generally change the tag.
154 # While removing the image from the registry would also work, that's not
155 # recommended except for ephemeral images during development: Replacing
156 # an image after a significant amount of time might pull in newer
157 # versions of gcc/clang or other packages, which might break the build
158 # with older commits using the same tag.
160 # After merging a change resulting in generating a new image to the
161 # main repository, it's recommended to remove the image from the source
162 # repository's container registry, so that the image from the main
163 # repository's registry will be used there as well.
166 stage: container+docs
170 - *ignore_scheduled_pipelines
171 # Run pipeline by default in the main project if any CI pipeline
172 # configuration files were changed, to ensure docker images are up to date
173 - if: '$CI_PROJECT_PATH == "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
178 # Run pipeline by default if it was triggered by Marge Bot, is for a
179 # merge request, and any files affecting the pipeline were changed
180 - if: '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
184 # Run pipeline by default in the main project if it was not triggered by
185 # Marge Bot, and any files affecting the pipeline were changed
186 - if: '$GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME && $CI_PROJECT_PATH == "mesa/mesa"'
190 # Allow triggering jobs manually in other cases if any files affecting the
191 # pipeline were changed
195 # Otherwise, container jobs won't run
198 FDO_DISTRIBUTION_VERSION: buster-slim
199 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
200 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
201 # no need to pull the whole repo to build the container image
204 # Debian 10 based x86 build image base
207 - .fdo.container-build@debian
210 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-08-13-gold"
218 BASE_TAG: *x86_build-base
219 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
223 # Debian 10 based x86 main build image
226 - .use-x86_build-base
228 FDO_DISTRIBUTION_TAG: &x86_build "2020-08-13-gold"
233 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
237 # Debian 10 based i386 cross-build image
240 - .use-x86_build-base
242 FDO_DISTRIBUTION_TAG: &i386_build "2020-08-13-gold"
247 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
251 # Debian 10 based ppc64el cross-build image
254 - .use-x86_build-base
256 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-08-13-gold"
261 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
265 # Debian 10 based s390x cross-build image
268 - .use-x86_build-base
270 FDO_DISTRIBUTION_TAG: &s390x_build "2020-08-13-gold"
275 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
279 # Debian 10 based x86 test image base
281 extends: x86_build-base
283 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-08-13-gold"
291 BASE_TAG: *x86_test-base
292 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
296 # Debian 10 based x86 test image for GL
298 extends: .use-x86_test-base
300 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-08-31-deqp-version"
302 # Debian 10 based x86 test image for VK
304 extends: .use-x86_test-base
306 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-08-31-deqp-version"
308 # Debian 9 based x86 build image (old LLVM)
310 extends: x86_build-base
312 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-08-13-gold"
313 FDO_DISTRIBUTION_VERSION: stretch-slim
318 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
322 # Debian 10 based ARM build image
325 - .fdo.container-build@debian@arm64v8
328 FDO_DISTRIBUTION_TAG: &arm_build "2020-08-31-deqp-version"
333 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
337 # Debian 10 based x86 baremetal image base
340 - .fdo.container-build@debian
343 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-08-13-gold"
351 BASE_TAG: *arm_test-base
352 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
356 # x86 image with ARM64 rootfs for baremetal testing.
361 FDO_DISTRIBUTION_TAG: &arm64_test "2020-08-31-deqp-version"
366 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
370 # Native Windows docker builds
372 # Unlike the above Linux-based builds - including MinGW/SCons builds which
373 # cross-compile for Windows - which use the freedesktop ci-templates, we
374 # cannot use the same scheme here. As Windows lacks support for
375 # Docker-in-Docker, and Podman does not run natively on Windows, we have
376 # to open-code much of the same ourselves.
378 # This is achieved by first running in a native Windows shell instance
379 # (host PowerShell) in the container stage to build and push the image,
380 # then in the build stage by executing inside Docker.
382 .windows-docker-vs2019:
384 WINDOWS_TAG: "2020-05-05-llvm"
385 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
386 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
388 .windows_build_vs2019:
391 - .windows-docker-vs2019
392 stage: container+docs
394 GIT_STRATEGY: fetch # we do actually need the full repository though
395 timeout: 4h # LLVM takes ages
402 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
404 .use-windows_build_vs2019:
405 extends: .windows-docker-vs2019
406 image: "$WINDOWS_IMAGE"
408 - windows_build_vs2019
411 extends: .fdo.container-build@alpine
412 stage: container+docs
414 - if: '$CI_PIPELINE_SOURCE == "schedule"'
417 FDO_REPO_SUFFIX: &git-archive-suffix "alpine/git_archive"
418 FDO_DISTRIBUTION_EXEC: 'pip3 install git+http://gitlab.freedesktop.org/freedesktop/ci-templates@6f5af7e5574509726c79109e3c147cee95e81366'
419 # no need to pull the whole repo to build the container image
421 FDO_DISTRIBUTION_TAG: &git-archive-tag "2020-07-07"
422 FDO_DISTRIBUTION_PACKAGES: git py3-pip
429 extends: .fdo.suffixed-image@alpine
431 - if: '$CI_PIPELINE_SOURCE == "schedule"'
433 # ensure we are running on packet
437 FDO_DISTRIBUTION_TAG: *git-archive-tag
438 FDO_REPO_SUFFIX: *git-archive-suffix
443 # compress the current folder
444 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
446 # login with the JWT token
447 - ci-fairy minio login $CI_JOB_JWT
448 - 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
453 # Shared between windows and Linux
455 extends: .ci-run-policy
456 # Cancel job if a newer commit is pushed to the same branch
459 name: "mesa_${CI_JOB_NAME}"
462 - _build/meson-logs/*.txt
469 extends: .build-common
471 CCACHE_COMPILERCHECK: "content"
472 CCACHE_COMPRESS: "true"
473 CCACHE_DIR: /cache/mesa/ccache
474 # Use ccache transparently, and print stats before/after
476 - export PATH="/usr/lib/ccache:$PATH"
477 - export CCACHE_BASEDIR="$PWD"
478 - ccache --show-stats
480 - ccache --show-stats
483 extends: .build-common
492 - subprojects/packagecache
502 - .gitlab-ci/meson-build.sh
510 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
525 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
527 BUILDTYPE: "debugoptimized"
533 - .gitlab-ci/meson-build.sh
534 - .gitlab-ci/prepare-artifacts.sh
537 extends: .meson-build
544 -D platforms=x11,wayland
547 -D gallium-extra-hud=true
548 -D gallium-vdpau=enabled
549 -D gallium-xvmc=enabled
550 -D gallium-omx=bellagio
551 -D gallium-va=enabled
552 -D gallium-xa=enabled
554 -D gallium-opencl=disabled
555 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
556 VULKAN_DRIVERS: swrast
562 - .gitlab-ci/meson-build.sh
563 - .gitlab-ci/run-shader-db.sh
564 - src/freedreno/.gitlab-ci/run-fdtools.sh
566 # Test a release build with -Werror so new warnings don't sneak in.
568 extends: .meson-build
575 -D platforms=x11,wayland
578 -D gallium-extra-hud=true
579 -D gallium-vdpau=enabled
580 -D gallium-xvmc=disabled
581 -D gallium-omx=disabled
582 -D gallium-va=enabled
583 -D gallium-xa=enabled
584 -D gallium-nine=false
585 -D gallium-opencl=disabled
587 GALLIUM_DRIVERS: "nouveau,kmsro,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
594 - .gitlab-ci/meson-build.sh
597 extends: .meson-build
604 -D platforms=x11,wayland,drm,surfaceless
612 extends: .meson-build
620 GALLIUM_DRIVERS: freedreno
621 VULKAN_DRIVERS: freedreno,intel,amd
627 -D gallium-vdpau=disabled
628 -D gallium-xvmc=disabled
629 -D gallium-omx=disabled
630 -D gallium-va=disabled
631 -D gallium-xa=disabled
632 -D gallium-nine=false
633 -D gallium-opencl=disabled
649 -D gallium-vdpau=disabled
650 -D gallium-xvmc=disabled
651 -D gallium-omx=disabled
652 -D gallium-va=disabled
653 -D gallium-xa=disabled
654 -D gallium-nine=false
662 VULKAN_DRIVERS: freedreno
663 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
664 BUILDTYPE: "debugoptimized"
680 - .gitlab-ci/meson-build.sh
681 - .gitlab-ci/prepare-artifacts.sh
688 VULKAN_DRIVERS: "freedreno"
694 - .gitlab-ci/meson-build.sh
695 - .gitlab-ci/prepare-artifacts.sh
697 meson-arm64-build-test:
702 VULKAN_DRIVERS: "amd"
706 - .gitlab-ci/meson-build.sh
709 extends: .meson-build
715 GALLIUM_DRIVERS: "auto"
716 VULKAN_DRIVERS: intel,amd,freedreno
718 CXX: "ccache clang++-9"
720 .meson-windows-vs2019:
723 - .use-windows_build_vs2019
726 - . .\.gitlab-ci\windows\mesa_build.ps1
729 extends: .scons-build
731 SCONS_TARGET: platform=windows machine=x86_64 debug=1
732 SCONS_CHECK_COMMAND: "true"
736 extends: .meson-build
743 GALLIUM_DRIVERS: "r600,radeonsi"
746 -D gallium-vdpau=disabled
747 -D gallium-xvmc=disabled
748 -D gallium-omx=disabled
749 -D gallium-va=disabled
750 -D gallium-xa=disabled
751 -D gallium-nine=false
752 -D gallium-opencl=icd
754 - .gitlab-ci/meson-build.sh
755 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
757 meson-clover-old-llvm:
768 GALLIUM_DRIVERS: "i915,r600"
770 - LLVM_VERSION=3.9 .gitlab-ci/meson-build.sh
771 - LLVM_VERSION=4.0 .gitlab-ci/meson-build.sh
772 - LLVM_VERSION=5.0 .gitlab-ci/meson-build.sh
773 - LLVM_VERSION=6.0 .gitlab-ci/meson-build.sh
774 - LLVM_VERSION=7 .gitlab-ci/meson-build.sh
777 extends: .meson-build
784 -D platforms=x11,wayland
788 -D gallium-vdpau=disabled
789 -D gallium-xvmc=disabled
790 -D gallium-omx=disabled
791 -D gallium-va=disabled
792 -D gallium-xa=disabled
793 -D gallium-nine=false
794 -D gallium-opencl=disabled
795 -D b_sanitize=undefined
796 -D c_args=-fno-sanitize-recover=all
797 -D cpp_args=-fno-sanitize-recover=all
798 UBSAN_OPTIONS: "print_stacktrace=1"
799 VULKAN_DRIVERS: intel,amd,freedreno
801 -D vulkan-overlay-layer=true
802 -D build-aco-tests=true
811 VULKAN_DRIVERS: intel,amd
812 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
814 -D vulkan-overlay-layer=true
827 GALLIUM_DRIVERS: "swrast"
836 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
837 VULKAN_DRIVERS: "amd"
839 meson-mingw32-x86_64:
840 extends: .meson-build
845 GALLIUM_DRIVERS: "swrast"
849 --cross-file=.gitlab-ci/x86_64-w64-mingw32
854 # Cancel job if a newer commit is pushed to the same branch
857 GIT_STRATEGY: none # testing doesn't build anything from source
859 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
861 - tar -xf artifacts/install.tar
862 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
865 name: "mesa_${CI_JOB_NAME}"
874 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
884 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
895 name: "mesa_${CI_JOB_NAME}"
899 LIBGL_ALWAYS_SOFTWARE: 1
902 - install/piglit/run.sh
905 extends: .piglit-test
910 --process-isolation false
912 -x egl_ext_platform_device
913 -x ext_timer_query@time-elapsed
914 -x glx-multithread-clearbuffer
915 -x glx-multithread-shader-compile
918 PIGLIT_PROFILES: quick_gl
921 extends: .piglit-test
925 PIGLIT_PROFILES: glslparser
928 extends: .piglit-test
932 PIGLIT_PROFILES: quick_shader
936 DEQP_SKIPS: deqp-default-skips.txt
938 - ./install/deqp-runner.sh
955 - ./install/fossilize-runner.sh
958 name: "mesa_${CI_JOB_NAME}"
966 # Don't use threads inside llvmpipe, we've already got all cores
967 # busy at the deqp-runner level.
969 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
970 LIBGL_ALWAYS_SOFTWARE: "true"
971 DEQP_EXPECTED_RENDERER: llvmpipe
981 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
982 DEQP_SKIPS: deqp-softpipe-skips.txt
983 GALLIUM_DRIVER: "softpipe"
984 DEQP_EXPECTED_RENDERER: softpipe
989 extends: softpipe-gles2
995 extends: softpipe-gles2
997 # Note that KHR-GL3* test sets include all tests from the previous
998 # version, so we only need to run one test list (unlike dEQP-GLES,
999 # where the test sets are separate).
1010 DEQP_NO_SAVE_RESULTS: 1
1011 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1012 # Don't use threads inside llvmpipe, we've already got all cores
1013 # busy at the deqp-runner level.
1015 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1016 DEQP_OPTIONS: "--deqp-log-images=disable"
1017 LIBGL_ALWAYS_SOFTWARE: "true"
1018 GALLIUM_DRIVER: "virpipe"
1019 DEQP_EXPECTED_RENDERER: virgl
1027 DEQP_RUNNER_OPTIONS: "--timeout 180"
1028 extends: virgl-gles2-on-gl
1034 MESA_GLES_VERSION_OVERRIDE: "3.1"
1035 MESA_GLSL_VERSION_OVERRIDE: "310"
1036 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1037 extends: virgl-gles3-on-gl
1042 extends: virgl-gles2-on-gl
1047 extends: virgl-gles2-on-gl
1052 extends: virgl-gles2-on-gl
1054 # Rules for tests that should not be present in MRs or the main
1055 # project's pipeline (don't block marge or report red on
1056 # mesa/mesamaster) but should be present on pipelines in personal
1057 # branches (so you can opt in to running the flaky test when you want
1061 - *ignore_scheduled_pipelines
1062 - if: '$CI_PROJECT_PATH != "mesa/mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
1068 virgl-gles2-on-gles:
1070 VIRGL_HOST_API: GLES
1071 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1076 virgl-gles3-on-gles:
1078 VIRGL_HOST_API: GLES
1079 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1084 virgl-gles31-on-gles:
1086 VIRGL_HOST_API: GLES
1087 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1089 - virgl-gles31-on-gl
1096 BM_KERNEL: /lava-files/cheza-kernel
1097 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1098 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1099 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1101 DEQP_EXPECTED_RENDERER: FD630
1102 DEQP_NO_SAVE_RESULTS: ""
1104 - google-freedreno-cheza
1106 - ./install/bare-metal/cros-servo.sh
1109 extends: arm64_a630_gles2
1112 # gles31 is about 12 minutes with validation enabled.
1116 extends: arm64_a630_gles2
1119 # gles3 is about 15 minutes with validation enabled.
1122 # We almost always manage to lower UBOs back to constant uploads in
1123 # the test suite, so get a little testing for it here.
1125 extends: arm64_a630_gles31
1128 IR3_SHADER_DEBUG: nouboopt
1129 DEQP_CASELIST_FILTER: "functional.*ubo"
1131 # The driver does some guessing as to whether to render using gmem
1132 # or bypass, and some GLES3.1 features interact with either one.
1133 # Do a little testing with gmem and bypass forced.
1135 extends: arm64_a630_gles31
1139 FD_MESA_DEBUG: nogmem
1140 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1146 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1147 DEVICE_NAME: "freedreno-a630"
1148 DRIVER_NAME: "freedreno"
1149 TRACIE_NO_UNIT_TESTS: 1
1150 TRACIE_UPLOAD_TO_MINIO: 1
1151 # This lets us run several more traces which don't use any features we're
1153 MESA_GLSL_VERSION_OVERRIDE: "460"
1154 MESA_GL_VERSION_OVERRIDE: "4.6"
1156 # Along with checking gmem path, check that we don't get obvious nir
1157 # validation failures (though it's too expensive to have it on for the
1160 extends: arm64_a630_gles31
1164 FD_MESA_DEBUG: nobypass
1168 extends: arm64_a630_gles2
1173 extends: arm64_a630_gles2
1178 VK_DRIVER: freedreno
1179 # Force binning in the main run, which makes sure we render at
1180 # least 2 bins. This is the path that impacts the most different
1181 # features. However, we end up with flaky results in
1182 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1185 # Do a separate sysmem pass over the testcases that really affect sysmem
1186 # rendering. This is currently very flaky, leave it as an option for devs
1187 # to click play on in their branches.
1188 arm64_a630_vk_sysmem:
1194 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1195 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1202 # Cancel job if a newer commit is pushed to the same branch
1207 name: "mesa_${CI_JOB_NAME}"
1218 BM_KERNEL: /lava-files/Image.gz
1219 BM_DTB: /lava-files/apq8016-sbc.dtb
1220 BM_ROOTFS: /lava-files/rootfs-arm64
1221 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1222 FLAKES_CHANNEL: "#freedreno-ci"
1223 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1224 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1225 DEQP_SKIPS: deqp-default-skips.txt
1226 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1229 DEQP_EXPECTED_RENDERER: FD307
1230 # Since we can't get artifacts back yet, skip making them.
1231 DEQP_NO_SAVE_RESULTS: 1
1232 # NIR_VALIDATE=0 left intentionally unset as a3xx is fast enough at its small testsuite.
1234 - ./install/bare-metal/fastboot.sh
1239 - google-freedreno-db410c
1241 # Fractional run, single threaded, due to flaky results
1252 # Fractional runs with debug options. Note that since we're not
1253 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1254 arm64_a306_gles3_options:
1255 extends: arm64_a306_gles2
1259 # Check that the non-constbuf UBO case works.
1260 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1266 BM_KERNEL: /lava-files/db820c-kernel
1267 BM_DTB: /lava-files/db820c.dtb
1268 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1269 # current upstream kernel.
1270 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1271 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1272 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1273 DEQP_EXPECTED_RENDERER: FD530
1276 - google-freedreno-db820c
1297 extends: .radv-rules
1301 ACO_DEBUG: validateir,validatera
1303 # Can only be triggered manually on personal branches because RADV is the only
1304 # driver that does Vulkan testing at the moment.
1305 radv_polaris10_vkcts:
1311 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1321 - export RADV_FORCE_FAMILY="pitcairn"
1322 - ./install/fossilize-runner.sh
1324 - export RADV_FORCE_FAMILY="bonaire"
1325 - ./install/fossilize-runner.sh
1327 - export RADV_FORCE_FAMILY="polaris10"
1328 - ./install/fossilize-runner.sh
1330 - export RADV_FORCE_FAMILY="gfx900"
1331 - ./install/fossilize-runner.sh
1333 - export RADV_FORCE_FAMILY="gfx1010"
1334 - ./install/fossilize-runner.sh
1335 # Sienna Cichlid (GFX10)
1336 - export RADV_FORCE_FAMILY="gfx1030"
1337 - ./install/fossilize-runner.sh
1346 TRACIE_UPLOAD_TO_MINIO: 1
1353 - ./install/tracie-runner-gl.sh
1360 - ./install/tracie-runner-vk.sh
1367 LIBGL_ALWAYS_SOFTWARE: "true"
1368 GALLIUM_DRIVER: "llvmpipe"
1369 DEVICE_NAME: "gl-vmware-llvmpipe"
1370 DRIVER_NAME: "llvmpipe"
1372 radv-polaris10-traces:
1378 DEVICE_NAME: "vk-amd-polaris10"
1389 DEVICE_NAME: "vk-amd-raven"
1399 LIBGL_ALWAYS_SOFTWARE: "true"
1400 GALLIUM_DRIVER: "virpipe"
1401 DEVICE_NAME: "gl-virgl"
1402 DRIVER_NAME: "virgl"
1403 MESA_GLES_VERSION_OVERRIDE: "3.1"
1404 MESA_GLSL_VERSION_OVERRIDE: "310"