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: 43ac932d5b8ebf43040d302de3c6e734df178384
12 - '/templates/ci-fairy.yml'
13 - project: 'freedesktop/ci-templates'
14 ref: 52dd4a94044449c8481d18dcdc221a3c636366d2
16 - '/templates/debian.yml'
17 - local: '.gitlab-ci/lava-gitlab-ci.yml'
18 - local: '.gitlab-ci/test-source-dep.yml'
40 # Generic rule to not run the job during scheduled pipelines
41 # ----------------------------------------------------------
42 .scheduled_pipelines-rules:
43 rules: &ignore_scheduled_pipelines
44 if: &is-scheduled-pipeline '$CI_PIPELINE_SOURCE == "schedule"'
47 # YAML anchors for rule conditions
48 # --------------------------------
52 - if: &is-for-marge '$GITLAB_USER_LOGIN == "marge-bot"'
54 # Forked project branch
55 - if: &is-forked-branch '$CI_PROJECT_NAMESPACE != "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
57 # Forked project branch / pre-merge pipeline
58 - if: &is-forked-branch-or-pre-merge '$CI_PROJECT_NAMESPACE != "mesa" || $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
60 # Pipeline runs for the master branch of the main project
61 - if: &is-main-master '$CI_PROJECT_NAMESPACE == "mesa" && $CI_COMMIT_REF_NAME == "master" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != "master"'
64 - if: &is-post-merge '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
66 # Post-merge pipeline, not for Marge Bot
67 - if: &is-post-merge-not-for-marge '$CI_PROJECT_NAMESPACE == "mesa" && $GITLAB_USER_LOGIN != "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
70 - if: &is-pre-merge '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
72 # Pre-merge pipeline for Marge Bot
73 - if: &is-pre-merge-for-marge '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
82 - apk --no-cache add graphviz
83 - pip3 install sphinx sphinx_rtd_theme
84 - sphinx-build -b html docs public
94 - *ignore_scheduled_pipelines
100 # Other cases default to never
104 # Cancel job if a newer commit is pushed to the same branch
110 - if: *is-pre-merge-for-marge
113 - if: *is-forked-branch-or-pre-merge
116 # Other cases default to never
118 # When to automatically run the CI
121 - *ignore_scheduled_pipelines
122 # If any files affecting the pipeline are changed, build/test jobs run
123 # automatically once all dependency jobs have passed
124 - changes: &all_paths
126 - bin/git_sha1_gen.py
127 - bin/install_megadrivers.py
128 - bin/meson_get_version.py
129 - bin/symbols-check.py
145 # Otherwise, build/test jobs won't run
150 - runner_system_failure
154 image: debian:stable-slim
156 - *ignore_scheduled_pipelines
162 - changes: *all_paths
169 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
174 name: "mesa_${CI_JOB_NAME}"
178 # Watch out! Artifacts are relative to the build dir.
179 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
182 # Build the CI docker images.
184 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
185 # image doesn't exist yet, the container stage job generates it.
187 # In order to generate a new image, one should generally change the tag.
188 # While removing the image from the registry would also work, that's not
189 # recommended except for ephemeral images during development: Replacing
190 # an image after a significant amount of time might pull in newer
191 # versions of gcc/clang or other packages, which might break the build
192 # with older commits using the same tag.
194 # After merging a change resulting in generating a new image to the
195 # main repository, it's recommended to remove the image from the source
196 # repository's container registry, so that the image from the main
197 # repository's registry will be used there as well.
204 - *ignore_scheduled_pipelines
205 # Run pipeline by default in the main project if any CI pipeline
206 # configuration files were changed, to ensure docker images are up to date
212 # Run pipeline by default if it was triggered by Marge Bot, is for a
213 # merge request, and any files affecting the pipeline were changed
214 - if: *is-pre-merge-for-marge
218 # Run pipeline by default in the main project if it was not triggered by
219 # Marge Bot, and any files affecting the pipeline were changed
220 - if: *is-post-merge-not-for-marge
224 # Allow triggering jobs manually in other cases if any files affecting the
225 # pipeline were changed
229 # Otherwise, container jobs won't run
232 FDO_DISTRIBUTION_VERSION: buster-slim
233 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
234 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
235 # no need to pull the whole repo to build the container image
238 # Debian 10 based x86 build image base
241 - .fdo.container-build@debian
244 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-12-02"
252 BASE_TAG: *x86_build-base
253 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
257 # Debian 10 based x86 main build image
260 - .use-x86_build-base
262 FDO_DISTRIBUTION_TAG: &x86_build "2020-12-02"
267 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
271 # Debian 10 based i386 cross-build image
274 - .use-x86_build-base
276 FDO_DISTRIBUTION_TAG: &i386_build "2020-12-02"
281 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
285 # Debian 10 based ppc64el cross-build image
288 - .use-x86_build-base
290 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-12-02"
295 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
299 # Debian 10 based s390x cross-build image
302 - .use-x86_build-base
304 FDO_DISTRIBUTION_TAG: &s390x_build "2020-12-02"
309 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
313 # Android NDK cross-build image
316 - .use-x86_build-base
318 FDO_DISTRIBUTION_TAG: &android_build "2020-12-02"
323 image: "$CI_REGISTRY_IMAGE/debian/android_build:$TAG"
327 # Debian 10 based x86 test image base
329 extends: x86_build-base
331 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-12-02"
339 BASE_TAG: *x86_test-base
340 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
344 # Debian 10 based x86 test image for GL
346 extends: .use-x86_test-base
348 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-11-06-deqp-version"
350 # Debian 10 based x86 test image for VK
352 extends: .use-x86_test-base
354 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-11-06-deqp-version"
356 # Debian 9 based x86 build image (old LLVM)
358 extends: x86_build-base
360 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-12-02"
361 FDO_DISTRIBUTION_VERSION: stretch-slim
366 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
370 # Debian 10 based ARM build image
373 - .fdo.container-build@debian@arm64v8
376 FDO_DISTRIBUTION_TAG: &arm_build "2020-12-02"
381 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
385 # Debian 10 based x86 baremetal image base
388 - .fdo.container-build@debian
391 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-10-06-clang10-2"
399 BASE_TAG: *arm_test-base
400 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
404 # x86 image with ARM64 rootfs for baremetal testing.
409 FDO_DISTRIBUTION_TAG: &arm64_test "2020-11-09-db410c-net"
414 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
418 # Native Windows docker builds
420 # Unlike the above Linux-based builds - including MinGW/SCons builds which
421 # cross-compile for Windows - which use the freedesktop ci-templates, we
422 # cannot use the same scheme here. As Windows lacks support for
423 # Docker-in-Docker, and Podman does not run natively on Windows, we have
424 # to open-code much of the same ourselves.
426 # This is achieved by first running in a native Windows shell instance
427 # (host PowerShell) in the container stage to build and push the image,
428 # then in the build stage by executing inside Docker.
430 .windows-docker-vs2019:
432 WINDOWS_TAG: "2020-12-02"
433 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
434 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
436 windows_build_vs2019:
439 - .windows-docker-vs2019
442 GIT_STRATEGY: fetch # we do actually need the full repository though
443 timeout: 2h # LLVM + piglit takes ages
450 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
452 .use-windows_build_vs2019:
453 extends: .windows-docker-vs2019
454 image: "$WINDOWS_IMAGE"
456 - windows_build_vs2019
466 - if: *is-scheduled-pipeline
468 # ensure we are running on packet
472 # compress the current folder
473 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
475 # login with the JWT token
476 - ci-fairy minio login $CI_JOB_JWT
477 - 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
480 # Sanity checks of MR settings and commit logs
488 - if: *is-forked-branch
490 # Other cases default to never
492 # ci-fairy check-commits --junit-xml=check-commits.xml
493 # ci-fairy check-merge-request only works in pre-merge pipelines for MRs
494 - if test "x$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" != "x$CI_COMMIT_REF_NAME"; then exit 0; fi
495 - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=check-merge-request.xml
504 # Shared between windows and Linux
506 extends: .ci-run-policy
507 # Cancel job if a newer commit is pushed to the same branch
510 name: "mesa_${CI_JOB_NAME}"
513 - _build/meson-logs/*.txt
520 extends: .build-common
522 CCACHE_COMPILERCHECK: "content"
523 CCACHE_COMPRESS: "true"
524 CCACHE_DIR: /cache/mesa/ccache
525 # Use ccache transparently, and print stats before/after
527 - export PATH="/usr/lib/ccache:$PATH"
528 - export CCACHE_BASEDIR="$PWD"
529 - ccache --show-stats
531 - ccache --show-stats
534 extends: .build-common
543 - subprojects/packagecache
553 - .gitlab-ci/meson-build.sh
561 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
576 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
578 BUILDTYPE: "debugoptimized"
584 - .gitlab-ci/meson-build.sh
585 - .gitlab-ci/prepare-artifacts.sh
587 meson-clover-testing:
599 -D gallium-opencl=icd
601 GALLIUM_DRIVERS: "swrast"
602 BUILDTYPE: "debugoptimized"
606 - .gitlab-ci/meson-build.sh
607 - .gitlab-ci/prepare-artifacts.sh
610 extends: .meson-build
617 -D platforms=x11,wayland
620 -D gallium-extra-hud=true
621 -D gallium-vdpau=enabled
622 -D gallium-xvmc=enabled
623 -D gallium-omx=bellagio
624 -D gallium-va=enabled
625 -D gallium-xa=enabled
627 -D gallium-opencl=disabled
628 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
629 VULKAN_DRIVERS: swrast
635 - .gitlab-ci/meson-build.sh
636 - .gitlab-ci/run-shader-db.sh
637 - src/freedreno/.gitlab-ci/run-fdtools.sh
639 # Test a release build with -Werror so new warnings don't sneak in.
641 extends: .meson-build
648 -D platforms=x11,wayland
651 -D gallium-extra-hud=true
652 -D gallium-vdpau=enabled
653 -D gallium-xvmc=disabled
654 -D gallium-omx=disabled
655 -D gallium-va=enabled
656 -D gallium-xa=enabled
657 -D gallium-nine=false
658 -D gallium-opencl=disabled
660 GALLIUM_DRIVERS: "nouveau,kmsro,freedreno,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
667 - .gitlab-ci/meson-build.sh
670 extends: .meson-build
677 -D platforms=x11,wayland
698 -D platform-sdk-version=26
701 -D gallium-vdpau=disabled
702 -D gallium-xvmc=disabled
703 -D gallium-omx=disabled
704 -D gallium-va=disabled
705 -D gallium-xa=disabled
706 -D gallium-nine=false
707 -D gallium-opencl=disabled
710 # arm64 build: Can't build v3d/vc4 because they require expat for v3d_decode.
711 - PKG_CONFIG_PATH=/usr/local/lib/aarch64-linux-android/pkgconfig/:/android-ndk-r21d/toolchains/llvm/prebuilt/linux-x86_64/sysroot/usr/lib/aarch64-linux-android/pkgconfig/ CROSS=aarch64-linux-android GALLIUM_DRIVERS=etnaviv,freedreno,lima,panfrost VULKAN_DRIVERS=freedreno .gitlab-ci/meson-build.sh
713 # Can't do Intel because gen_decoder.c currently requires libexpat, which
714 # is not a dependency that AOSP wants to accept. Can't do Radeon because
715 # it requires LLVM, which we don't have an Android build of.
716 # - PKG_CONFIG_PATH=/usr/local/lib/x86_64-linux-android/pkgconfig/ CROSS=x86_64-linux-android GALLIUM_DRIVERS=iris VULKAN_DRIVERS=intel .gitlab-ci/meson-build.sh
732 -D gallium-vdpau=disabled
733 -D gallium-xvmc=disabled
734 -D gallium-omx=disabled
735 -D gallium-va=disabled
736 -D gallium-xa=disabled
737 -D gallium-nine=false
747 VULKAN_DRIVERS: freedreno,broadcom
748 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
749 BUILDTYPE: "debugoptimized"
765 - .gitlab-ci/meson-build.sh
766 - .gitlab-ci/prepare-artifacts.sh
773 VULKAN_DRIVERS: "freedreno,broadcom"
779 - .gitlab-ci/meson-build.sh
780 - .gitlab-ci/prepare-artifacts.sh
782 meson-arm64-build-test:
787 VULKAN_DRIVERS: "amd"
792 - .gitlab-ci/meson-build.sh
795 extends: .meson-build
801 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,radeonsi,tegra"
802 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
803 CC: "ccache clang-10"
804 CXX: "ccache clang++-10"
806 meson-windows-vs2019:
809 - .use-windows_build_vs2019
812 - . .\.gitlab-ci\windows\mesa_build.ps1
820 - .use-windows_build_vs2019
823 - meson-windows-vs2019
825 - meson-windows-vs2019
827 GIT_STRATEGY: none # testing doesn't build anything from source
828 GALLIUM_DRIVER: d3d12
829 PIGLIT_PROFILE: quick_gl
830 PIGLIT_OPTIONS: -x nv_copy_depth_to_color
832 - . _install/piglit_run.ps1
835 name: "mesa_${CI_JOB_NAME}"
840 extends: .scons-build
842 SCONS_TARGET: platform=windows machine=x86_64 debug=1
843 SCONS_CHECK_COMMAND: "true"
847 extends: .meson-build
854 GALLIUM_DRIVERS: "r600,radeonsi"
857 -D gallium-vdpau=disabled
858 -D gallium-xvmc=disabled
859 -D gallium-omx=disabled
860 -D gallium-va=disabled
861 -D gallium-xa=disabled
862 -D gallium-nine=false
863 -D gallium-opencl=icd
867 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
868 - LLVM_VERSION=9 .gitlab-ci/meson-build.sh
869 - .gitlab-ci/meson-build.sh
872 extends: .meson-build
879 -D platforms=x11,wayland
883 -D gallium-vdpau=disabled
884 -D gallium-xvmc=disabled
885 -D gallium-omx=disabled
886 -D gallium-va=disabled
887 -D gallium-xa=disabled
888 -D gallium-nine=false
889 -D gallium-opencl=disabled
890 -D b_sanitize=undefined
891 -D c_args=-fno-sanitize-recover=all
892 -D cpp_args=-fno-sanitize-recover=all
893 UBSAN_OPTIONS: "print_stacktrace=1"
894 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
896 -D vulkan-overlay-layer=true
897 -D vulkan-device-select-layer=true
898 -D build-aco-tests=true
907 VULKAN_DRIVERS: intel,amd
908 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
910 -D vulkan-overlay-layer=true
911 -D vulkan-device-select-layer=true
924 GALLIUM_DRIVERS: "swrast"
933 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
934 VULKAN_DRIVERS: "amd"
936 meson-mingw32-x86_64:
937 extends: .meson-build
942 GALLIUM_DRIVERS: "swrast"
946 --cross-file=.gitlab-ci/x86_64-w64-mingw32
951 # Cancel job if a newer commit is pushed to the same branch
954 GIT_STRATEGY: none # testing doesn't build anything from source
956 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
958 - tar -xf artifacts/install.tar
959 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
962 name: "mesa_${CI_JOB_NAME}"
971 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
987 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
997 - meson-clover-testing
1005 name: "mesa_${CI_JOB_NAME}"
1009 LIBGL_ALWAYS_SOFTWARE: 1
1012 - install/piglit/run.sh
1018 - .llvmpipe-cl-rules
1024 -x bswap -x phatk -x clz-optimizations
1026 - install/piglit/run_cl.sh
1029 extends: .piglit-test
1033 --process-isolation false
1035 -x egl_ext_platform_device
1036 -x ext_timer_query@time-elapsed
1037 -x glx-multithread-clearbuffer
1038 -x glx-multithread-shader-compile
1041 PIGLIT_PROFILES: quick_gl
1044 extends: .piglit-test
1047 PIGLIT_PROFILES: glslparser
1049 piglit-quick_shader:
1050 extends: .piglit-test
1053 PIGLIT_PROFILES: quick_shader
1057 DEQP_SKIPS: deqp-default-skips.txt
1059 - ./install/deqp-runner.sh
1076 - ./install/fossilize-runner.sh
1079 name: "mesa_${CI_JOB_NAME}"
1086 # Don't use threads inside llvmpipe, we've already got all cores
1087 # busy at the deqp-runner level.
1089 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
1090 LIBGL_ALWAYS_SOFTWARE: "true"
1091 DEQP_EXPECTED_RENDERER: llvmpipe
1101 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
1102 DEQP_SKIPS: deqp-softpipe-skips.txt
1103 DEQP_FLAKES: deqp-softpipe-flakes.txt
1104 GALLIUM_DRIVER: "softpipe"
1105 DEQP_EXPECTED_RENDERER: softpipe
1110 extends: softpipe-gles2
1116 extends: softpipe-gles2
1118 # Note that KHR-GL3* test sets include all tests from the previous
1119 # version, so we only need to run one test list (unlike dEQP-GLES,
1120 # where the test sets are separate).
1130 DEQP_NO_SAVE_RESULTS: 1
1131 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1132 # Don't use threads inside llvmpipe, we've already got all cores
1133 # busy at the deqp-runner level.
1135 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1136 DEQP_OPTIONS: "--deqp-log-images=disable"
1137 LIBGL_ALWAYS_SOFTWARE: "true"
1138 GALLIUM_DRIVER: "virpipe"
1139 DEQP_EXPECTED_RENDERER: virgl
1147 DEQP_RUNNER_OPTIONS: "--timeout 180"
1148 extends: virgl-gles2-on-gl
1154 MESA_GLES_VERSION_OVERRIDE: "3.1"
1155 MESA_GLSL_VERSION_OVERRIDE: "310"
1156 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1157 extends: virgl-gles3-on-gl
1162 extends: virgl-gles2-on-gl
1167 extends: virgl-gles2-on-gl
1172 extends: virgl-gles2-on-gl
1174 # Rules for tests that should not be present in MRs or the main
1175 # project's pipeline (don't block marge or report red on
1176 # mesa/mesamaster) but should be present on pipelines in personal
1177 # branches (so you can opt in to running the flaky test when you want
1181 - *ignore_scheduled_pipelines
1182 - if: *is-forked-branch
1188 virgl-gles2-on-gles:
1190 VIRGL_HOST_API: GLES
1191 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1196 virgl-gles3-on-gles:
1198 VIRGL_HOST_API: GLES
1199 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1204 virgl-gles31-on-gles:
1206 VIRGL_HOST_API: GLES
1207 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1209 - virgl-gles31-on-gl
1216 BM_KERNEL: /lava-files/cheza-kernel
1217 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1218 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1219 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1220 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
1222 DEQP_EXPECTED_RENDERER: FD630
1223 DEQP_NO_SAVE_RESULTS: ""
1224 VK_DRIVER: freedreno
1226 - google-freedreno-cheza
1228 - ./install/bare-metal/cros-servo.sh
1231 extends: arm64_a630_gles2
1236 extends: arm64_a630_gles2
1244 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1245 DEVICE_NAME: "freedreno-a630"
1246 DRIVER_NAME: "freedreno"
1247 TRACIE_NO_UNIT_TESTS: 1
1248 TRACIE_UPLOAD_TO_MINIO: 1
1249 # This lets us run several more traces which don't use any features we're
1251 MESA_GLSL_VERSION_OVERRIDE: "460"
1252 MESA_GL_VERSION_OVERRIDE: "4.6"
1255 junit: results/junit.xml
1258 extends: arm64_a630_gles2
1262 arm64_a630_gles_others:
1263 extends: arm64_a630_gles2
1265 BARE_METAL_TEST_SCRIPT: "/install/bare-metal/arm64_a630_gles_others.sh"
1268 extends: arm64_a630_gles2
1273 # Force binning in the main run, which makes sure we render at
1274 # least 2 bins. This is the path that impacts the most different
1275 # features. However, we end up with flaky results in
1276 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1279 # Do a separate sysmem pass over the testcases that really affect sysmem
1280 # rendering. This is currently very flaky, leave it as an option for devs
1281 # to click play on in their branches.
1282 arm64_a630_vk_sysmem:
1288 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1289 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1296 # Cancel job if a newer commit is pushed to the same branch
1301 name: "mesa_${CI_JOB_NAME}"
1312 BM_KERNEL: /lava-files/Image.gz
1313 BM_DTB: /lava-files/apq8016-sbc.dtb
1314 BM_ROOTFS: /lava-files/rootfs-arm64
1315 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1316 FLAKES_CHANNEL: "#freedreno-ci"
1317 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1318 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1319 DEQP_SKIPS: deqp-default-skips.txt
1320 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1323 DEQP_EXPECTED_RENDERER: FD307
1324 # Since we can't get artifacts back yet, skip making them.
1325 DEQP_NO_SAVE_RESULTS: 1
1327 - ./install/bare-metal/fastboot.sh
1332 - google-freedreno-db410c
1334 # Fractional run, single threaded, due to flaky results
1343 # Fractional runs with debug options. Note that since we're not
1344 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1345 arm64_a306_gles3_options:
1346 extends: arm64_a306_gles2
1350 # Check that the non-constbuf UBO case works.
1351 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1357 BM_KERNEL: /lava-files/db820c-kernel
1358 BM_DTB: /lava-files/db820c.dtb
1359 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1360 # current upstream kernel.
1361 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1362 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1363 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1364 DEQP_EXPECTED_RENDERER: FD530
1366 - google-freedreno-db820c
1390 extends: .radv-rules
1394 ACO_DEBUG: validateir,validatera
1396 # Can only be triggered manually on personal branches because RADV is the only
1397 # driver that does Vulkan testing at the moment.
1398 radv_polaris10_vkcts:
1404 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1414 - export RADV_FORCE_FAMILY="pitcairn"
1415 - ./install/fossilize-runner.sh
1417 - export RADV_FORCE_FAMILY="bonaire"
1418 - ./install/fossilize-runner.sh
1420 - export RADV_FORCE_FAMILY="polaris10"
1421 - ./install/fossilize-runner.sh
1423 - export RADV_FORCE_FAMILY="gfx900"
1424 - ./install/fossilize-runner.sh
1426 - export RADV_FORCE_FAMILY="gfx1010"
1427 - ./install/fossilize-runner.sh
1428 # Sienna Cichlid (GFX10)
1429 - export RADV_FORCE_FAMILY="gfx1030"
1430 - ./install/fossilize-runner.sh
1439 TRACIE_UPLOAD_TO_MINIO: 1
1442 junit: results/junit.xml
1449 - ./install/tracie-runner-gl.sh
1456 - ./install/tracie-runner-vk.sh
1463 LIBGL_ALWAYS_SOFTWARE: "true"
1464 GALLIUM_DRIVER: "llvmpipe"
1465 DEVICE_NAME: "gl-vmware-llvmpipe"
1466 DRIVER_NAME: "llvmpipe"
1468 radv-polaris10-traces:
1474 DEVICE_NAME: "vk-amd-polaris10"
1485 DEVICE_NAME: "vk-amd-raven"
1495 LIBGL_ALWAYS_SOFTWARE: "true"
1496 GALLIUM_DRIVER: "virpipe"
1497 DEVICE_NAME: "gl-virgl"
1498 DRIVER_NAME: "virgl"
1499 MESA_GLES_VERSION_OVERRIDE: "3.1"
1500 MESA_GLSL_VERSION_OVERRIDE: "310"