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 - '/templates/debian.yml'
14 - local: '.gitlab-ci/lava-gitlab-ci.yml'
15 - local: '.gitlab-ci/test-source-dep.yml'
37 # Generic rule to not run the job during scheduled pipelines
38 # ----------------------------------------------------------
39 .scheduled_pipelines-rules:
40 rules: &ignore_scheduled_pipelines
41 if: &is-scheduled-pipeline '$CI_PIPELINE_SOURCE == "schedule"'
44 # YAML anchors for rule conditions
45 # --------------------------------
49 - if: &is-for-marge '$GITLAB_USER_LOGIN == "marge-bot"'
51 # Forked project branch
52 - if: &is-forked-branch '$CI_PROJECT_NAMESPACE != "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
54 # Forked project branch / pre-merge pipeline
55 - if: &is-forked-branch-or-pre-merge '$CI_PROJECT_NAMESPACE != "mesa" || $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
57 # Pipeline runs for the master branch of the main project
58 - if: &is-main-master '$CI_PROJECT_NAMESPACE == "mesa" && $CI_COMMIT_REF_NAME == "master" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != "master"'
61 - if: &is-post-merge '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
63 # Post-merge pipeline, not for Marge Bot
64 - 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'
67 - if: &is-pre-merge '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
69 # Pre-merge pipeline for Marge Bot
70 - if: &is-pre-merge-for-marge '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
79 - apk --no-cache add graphviz
80 - pip3 install sphinx sphinx_rtd_theme
81 - sphinx-build -b html docs public
91 - *ignore_scheduled_pipelines
97 # Other cases default to never
101 # Cancel job if a newer commit is pushed to the same branch
107 - if: *is-pre-merge-for-marge
110 - if: *is-forked-branch-or-pre-merge
113 # Other cases default to never
115 # When to automatically run the CI
118 - *ignore_scheduled_pipelines
119 # If any files affecting the pipeline are changed, build/test jobs run
120 # automatically once all dependency jobs have passed
121 - changes: &all_paths
123 - bin/git_sha1_gen.py
124 - bin/install_megadrivers.py
125 - bin/meson_get_version.py
126 - bin/symbols-check.py
142 # Otherwise, build/test jobs won't run
147 - runner_system_failure
151 image: debian:stable-slim
153 - *ignore_scheduled_pipelines
159 - changes: *all_paths
166 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
171 name: "mesa_${CI_JOB_NAME}"
175 # Watch out! Artifacts are relative to the build dir.
176 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
179 # Build the CI docker images.
181 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
182 # image doesn't exist yet, the container stage job generates it.
184 # In order to generate a new image, one should generally change the tag.
185 # While removing the image from the registry would also work, that's not
186 # recommended except for ephemeral images during development: Replacing
187 # an image after a significant amount of time might pull in newer
188 # versions of gcc/clang or other packages, which might break the build
189 # with older commits using the same tag.
191 # After merging a change resulting in generating a new image to the
192 # main repository, it's recommended to remove the image from the source
193 # repository's container registry, so that the image from the main
194 # repository's registry will be used there as well.
201 - *ignore_scheduled_pipelines
202 # Run pipeline by default in the main project if any CI pipeline
203 # configuration files were changed, to ensure docker images are up to date
209 # Run pipeline by default if it was triggered by Marge Bot, is for a
210 # merge request, and any files affecting the pipeline were changed
211 - if: *is-pre-merge-for-marge
215 # Run pipeline by default in the main project if it was not triggered by
216 # Marge Bot, and any files affecting the pipeline were changed
217 - if: *is-post-merge-not-for-marge
221 # Allow triggering jobs manually in other cases if any files affecting the
222 # pipeline were changed
226 # Otherwise, container jobs won't run
229 FDO_DISTRIBUTION_VERSION: buster-slim
230 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
231 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
232 # no need to pull the whole repo to build the container image
235 # Debian 10 based x86 build image base
238 - .fdo.container-build@debian
241 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-12-01-no-more-dri1"
249 BASE_TAG: *x86_build-base
250 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
254 # Debian 10 based x86 main build image
257 - .use-x86_build-base
259 FDO_DISTRIBUTION_TAG: &x86_build "2020-12-01-no-more-dri1"
264 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
268 # Debian 10 based i386 cross-build image
271 - .use-x86_build-base
273 FDO_DISTRIBUTION_TAG: &i386_build "2020-12-01-no-more-dri1"
278 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
282 # Debian 10 based ppc64el cross-build image
285 - .use-x86_build-base
287 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-12-01-no-more-dri1"
292 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
296 # Debian 10 based s390x cross-build image
299 - .use-x86_build-base
301 FDO_DISTRIBUTION_TAG: &s390x_build "2020-12-01-no-more-dri1"
306 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
310 # Android NDK cross-build image
313 - .use-x86_build-base
315 FDO_DISTRIBUTION_TAG: &android_build "2020-12-01-no-more-dri1"
320 image: "$CI_REGISTRY_IMAGE/debian/android_build:$TAG"
324 # Debian 10 based x86 test image base
326 extends: x86_build-base
328 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-12-01-no-more-dri1"
336 BASE_TAG: *x86_test-base
337 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
341 # Debian 10 based x86 test image for GL
343 extends: .use-x86_test-base
345 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-11-06-deqp-version"
347 # Debian 10 based x86 test image for VK
349 extends: .use-x86_test-base
351 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-11-06-deqp-version"
353 # Debian 9 based x86 build image (old LLVM)
355 extends: x86_build-base
357 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-12-01-no-more-dri1"
358 FDO_DISTRIBUTION_VERSION: stretch-slim
363 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
367 # Debian 10 based ARM build image
370 - .fdo.container-build@debian@aarch64
373 FDO_DISTRIBUTION_TAG: &arm_build "2020-12-01-no-more-dri1"
378 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
382 # Debian 10 based x86 baremetal image base
385 - .fdo.container-build@debian
388 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-10-06-clang10-2"
396 BASE_TAG: *arm_test-base
397 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
401 # x86 image with ARM64 rootfs for baremetal testing.
406 FDO_DISTRIBUTION_TAG: &arm64_test "2020-11-09-db410c-net"
411 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
415 # Native Windows docker builds
417 # Unlike the above Linux-based builds - including MinGW/SCons builds which
418 # cross-compile for Windows - which use the freedesktop ci-templates, we
419 # cannot use the same scheme here. As Windows lacks support for
420 # Docker-in-Docker, and Podman does not run natively on Windows, we have
421 # to open-code much of the same ourselves.
423 # This is achieved by first running in a native Windows shell instance
424 # (host PowerShell) in the container stage to build and push the image,
425 # then in the build stage by executing inside Docker.
427 .windows-docker-vs2019:
429 WINDOWS_TAG: "2020-12-01-piglit"
430 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
431 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
433 windows_build_vs2019:
436 - .windows-docker-vs2019
439 GIT_STRATEGY: fetch # we do actually need the full repository though
440 timeout: 2h # LLVM + piglit takes ages
447 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
449 .use-windows_build_vs2019:
450 extends: .windows-docker-vs2019
451 image: "$WINDOWS_IMAGE"
453 - windows_build_vs2019
463 - if: *is-scheduled-pipeline
465 # ensure we are running on packet
469 # compress the current folder
470 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
472 # login with the JWT token
473 - ci-fairy minio login $CI_JOB_JWT
474 - 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
477 # Sanity checks of MR settings and commit logs
485 - if: *is-forked-branch
487 # Other cases default to never
489 # ci-fairy check-commits --junit-xml=check-commits.xml
490 # ci-fairy check-merge-request only works in pre-merge pipelines for MRs
491 - if test "x$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" != "x$CI_COMMIT_REF_NAME"; then exit 0; fi
492 - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=check-merge-request.xml
501 # Shared between windows and Linux
503 extends: .ci-run-policy
504 # Cancel job if a newer commit is pushed to the same branch
507 name: "mesa_${CI_JOB_NAME}"
510 - _build/meson-logs/*.txt
517 extends: .build-common
519 CCACHE_COMPILERCHECK: "content"
520 CCACHE_COMPRESS: "true"
521 CCACHE_DIR: /cache/mesa/ccache
522 # Use ccache transparently, and print stats before/after
524 - export PATH="/usr/lib/ccache:$PATH"
525 - export CCACHE_BASEDIR="$PWD"
526 - ccache --show-stats
528 - ccache --show-stats
531 extends: .build-common
540 - subprojects/packagecache
550 - .gitlab-ci/meson-build.sh
558 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
573 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
575 BUILDTYPE: "debugoptimized"
581 - .gitlab-ci/meson-build.sh
582 - .gitlab-ci/prepare-artifacts.sh
584 meson-clover-testing:
596 -D gallium-opencl=icd
598 GALLIUM_DRIVERS: "swrast"
599 BUILDTYPE: "debugoptimized"
603 - .gitlab-ci/meson-build.sh
604 - .gitlab-ci/prepare-artifacts.sh
607 extends: .meson-build
614 -D platforms=x11,wayland
617 -D gallium-extra-hud=true
618 -D gallium-vdpau=enabled
619 -D gallium-xvmc=enabled
620 -D gallium-omx=bellagio
621 -D gallium-va=enabled
622 -D gallium-xa=enabled
624 -D gallium-opencl=disabled
625 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
626 VULKAN_DRIVERS: swrast
632 - .gitlab-ci/meson-build.sh
633 - .gitlab-ci/run-shader-db.sh
634 - src/freedreno/.gitlab-ci/run-fdtools.sh
636 # Test a release build with -Werror so new warnings don't sneak in.
638 extends: .meson-build
645 -D platforms=x11,wayland
648 -D gallium-extra-hud=true
649 -D gallium-vdpau=enabled
650 -D gallium-xvmc=disabled
651 -D gallium-omx=disabled
652 -D gallium-va=enabled
653 -D gallium-xa=enabled
654 -D gallium-nine=false
655 -D gallium-opencl=disabled
657 GALLIUM_DRIVERS: "nouveau,kmsro,freedreno,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
664 - .gitlab-ci/meson-build.sh
667 extends: .meson-build
674 -D platforms=x11,wayland
695 -D platform-sdk-version=26
698 -D gallium-vdpau=disabled
699 -D gallium-xvmc=disabled
700 -D gallium-omx=disabled
701 -D gallium-va=disabled
702 -D gallium-xa=disabled
703 -D gallium-nine=false
704 -D gallium-opencl=disabled
707 # arm64 build: Can't build v3d/vc4 because they require expat for v3d_decode.
708 - 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
710 # Can't do Intel because gen_decoder.c currently requires libexpat, which
711 # is not a dependency that AOSP wants to accept. Can't do Radeon because
712 # it requires LLVM, which we don't have an Android build of.
713 # - 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
729 -D gallium-vdpau=disabled
730 -D gallium-xvmc=disabled
731 -D gallium-omx=disabled
732 -D gallium-va=disabled
733 -D gallium-xa=disabled
734 -D gallium-nine=false
744 VULKAN_DRIVERS: freedreno,broadcom
745 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
746 BUILDTYPE: "debugoptimized"
762 - .gitlab-ci/meson-build.sh
763 - .gitlab-ci/prepare-artifacts.sh
770 VULKAN_DRIVERS: "freedreno,broadcom"
776 - .gitlab-ci/meson-build.sh
777 - .gitlab-ci/prepare-artifacts.sh
779 meson-arm64-build-test:
784 VULKAN_DRIVERS: "amd"
789 - .gitlab-ci/meson-build.sh
792 extends: .meson-build
798 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,radeonsi,tegra"
799 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
800 CC: "ccache clang-10"
801 CXX: "ccache clang++-10"
803 meson-windows-vs2019:
806 - .use-windows_build_vs2019
809 - . .\.gitlab-ci\windows\mesa_build.ps1
817 - .use-windows_build_vs2019
820 - meson-windows-vs2019
822 - meson-windows-vs2019
824 GALLIUM_DRIVER: d3d12
825 PIGLIT_PROFILE: quick_gl
826 PIGLIT_OPTIONS: -x nv_copy_depth_to_color
828 - . .\.gitlab-ci\windows\piglit_run.ps1
831 name: "mesa_${CI_JOB_NAME}"
836 extends: .scons-build
838 SCONS_TARGET: platform=windows machine=x86_64 debug=1
839 SCONS_CHECK_COMMAND: "true"
843 extends: .meson-build
850 GALLIUM_DRIVERS: "r600,radeonsi"
853 -D gallium-vdpau=disabled
854 -D gallium-xvmc=disabled
855 -D gallium-omx=disabled
856 -D gallium-va=disabled
857 -D gallium-xa=disabled
858 -D gallium-nine=false
859 -D gallium-opencl=icd
863 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
864 - LLVM_VERSION=9 .gitlab-ci/meson-build.sh
865 - .gitlab-ci/meson-build.sh
868 extends: .meson-build
875 -D platforms=x11,wayland
879 -D gallium-vdpau=disabled
880 -D gallium-xvmc=disabled
881 -D gallium-omx=disabled
882 -D gallium-va=disabled
883 -D gallium-xa=disabled
884 -D gallium-nine=false
885 -D gallium-opencl=disabled
886 -D b_sanitize=undefined
887 -D c_args=-fno-sanitize-recover=all
888 -D cpp_args=-fno-sanitize-recover=all
889 UBSAN_OPTIONS: "print_stacktrace=1"
890 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
892 -D vulkan-overlay-layer=true
893 -D vulkan-device-select-layer=true
894 -D build-aco-tests=true
903 VULKAN_DRIVERS: intel,amd
904 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
906 -D vulkan-overlay-layer=true
907 -D vulkan-device-select-layer=true
920 GALLIUM_DRIVERS: "swrast"
929 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
930 VULKAN_DRIVERS: "amd"
932 meson-mingw32-x86_64:
933 extends: .meson-build
938 GALLIUM_DRIVERS: "swrast"
942 --cross-file=.gitlab-ci/x86_64-w64-mingw32
947 # Cancel job if a newer commit is pushed to the same branch
950 GIT_STRATEGY: none # testing doesn't build anything from source
952 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
954 - tar -xf artifacts/install.tar
955 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
958 name: "mesa_${CI_JOB_NAME}"
967 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
983 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
993 - meson-clover-testing
1001 name: "mesa_${CI_JOB_NAME}"
1005 LIBGL_ALWAYS_SOFTWARE: 1
1008 - install/piglit/run.sh
1014 - .llvmpipe-cl-rules
1020 -x bswap -x phatk -x clz-optimizations
1022 - install/piglit/run_cl.sh
1025 extends: .piglit-test
1029 --process-isolation false
1031 -x egl_ext_platform_device
1032 -x ext_timer_query@time-elapsed
1033 -x glx-multithread-clearbuffer
1034 -x glx-multithread-shader-compile
1037 PIGLIT_PROFILES: quick_gl
1040 extends: .piglit-test
1043 PIGLIT_PROFILES: glslparser
1045 piglit-quick_shader:
1046 extends: .piglit-test
1049 PIGLIT_PROFILES: quick_shader
1053 DEQP_SKIPS: deqp-default-skips.txt
1055 - ./install/deqp-runner.sh
1072 - ./install/fossilize-runner.sh
1075 name: "mesa_${CI_JOB_NAME}"
1082 # Don't use threads inside llvmpipe, we've already got all cores
1083 # busy at the deqp-runner level.
1085 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
1086 LIBGL_ALWAYS_SOFTWARE: "true"
1087 DEQP_EXPECTED_RENDERER: llvmpipe
1097 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
1098 DEQP_SKIPS: deqp-softpipe-skips.txt
1099 DEQP_FLAKES: deqp-softpipe-flakes.txt
1100 GALLIUM_DRIVER: "softpipe"
1101 DEQP_EXPECTED_RENDERER: softpipe
1106 extends: softpipe-gles2
1112 extends: softpipe-gles2
1114 # Note that KHR-GL3* test sets include all tests from the previous
1115 # version, so we only need to run one test list (unlike dEQP-GLES,
1116 # where the test sets are separate).
1126 DEQP_NO_SAVE_RESULTS: 1
1127 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1128 # Don't use threads inside llvmpipe, we've already got all cores
1129 # busy at the deqp-runner level.
1131 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1132 DEQP_OPTIONS: "--deqp-log-images=disable"
1133 LIBGL_ALWAYS_SOFTWARE: "true"
1134 GALLIUM_DRIVER: "virpipe"
1135 DEQP_EXPECTED_RENDERER: virgl
1143 DEQP_RUNNER_OPTIONS: "--timeout 180"
1144 extends: virgl-gles2-on-gl
1150 MESA_GLES_VERSION_OVERRIDE: "3.1"
1151 MESA_GLSL_VERSION_OVERRIDE: "310"
1152 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1153 extends: virgl-gles3-on-gl
1158 extends: virgl-gles2-on-gl
1163 extends: virgl-gles2-on-gl
1168 extends: virgl-gles2-on-gl
1170 # Rules for tests that should not be present in MRs or the main
1171 # project's pipeline (don't block marge or report red on
1172 # mesa/mesamaster) but should be present on pipelines in personal
1173 # branches (so you can opt in to running the flaky test when you want
1177 - *ignore_scheduled_pipelines
1178 - if: *is-forked-branch
1184 virgl-gles2-on-gles:
1186 VIRGL_HOST_API: GLES
1187 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1192 virgl-gles3-on-gles:
1194 VIRGL_HOST_API: GLES
1195 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1200 virgl-gles31-on-gles:
1202 VIRGL_HOST_API: GLES
1203 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1205 - virgl-gles31-on-gl
1212 BM_KERNEL: /lava-files/cheza-kernel
1213 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1214 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1215 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1216 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
1218 DEQP_EXPECTED_RENDERER: FD630
1219 DEQP_NO_SAVE_RESULTS: ""
1220 VK_DRIVER: freedreno
1222 - google-freedreno-cheza
1224 - ./install/bare-metal/cros-servo.sh
1227 extends: arm64_a630_gles2
1232 extends: arm64_a630_gles2
1240 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1241 DEVICE_NAME: "freedreno-a630"
1242 DRIVER_NAME: "freedreno"
1243 TRACIE_NO_UNIT_TESTS: 1
1244 TRACIE_UPLOAD_TO_MINIO: 1
1245 # This lets us run several more traces which don't use any features we're
1247 MESA_GLSL_VERSION_OVERRIDE: "460"
1248 MESA_GL_VERSION_OVERRIDE: "4.6"
1251 junit: results/junit.xml
1254 extends: arm64_a630_gles2
1258 arm64_a630_gles_others:
1259 extends: arm64_a630_gles2
1261 BARE_METAL_TEST_SCRIPT: "/install/bare-metal/arm64_a630_gles_others.sh"
1264 extends: arm64_a630_gles2
1269 # Force binning in the main run, which makes sure we render at
1270 # least 2 bins. This is the path that impacts the most different
1271 # features. However, we end up with flaky results in
1272 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1275 # Do a separate sysmem pass over the testcases that really affect sysmem
1276 # rendering. This is currently very flaky, leave it as an option for devs
1277 # to click play on in their branches.
1278 arm64_a630_vk_sysmem:
1284 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1285 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1292 # Cancel job if a newer commit is pushed to the same branch
1297 name: "mesa_${CI_JOB_NAME}"
1308 BM_KERNEL: /lava-files/Image.gz
1309 BM_DTB: /lava-files/apq8016-sbc.dtb
1310 BM_ROOTFS: /lava-files/rootfs-arm64
1311 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1312 FLAKES_CHANNEL: "#freedreno-ci"
1313 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1314 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1315 DEQP_SKIPS: deqp-default-skips.txt
1316 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1319 DEQP_EXPECTED_RENDERER: FD307
1320 # Since we can't get artifacts back yet, skip making them.
1321 DEQP_NO_SAVE_RESULTS: 1
1323 - ./install/bare-metal/fastboot.sh
1328 - google-freedreno-db410c
1330 # Fractional run, single threaded, due to flaky results
1339 # Fractional runs with debug options. Note that since we're not
1340 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1341 arm64_a306_gles3_options:
1342 extends: arm64_a306_gles2
1346 # Check that the non-constbuf UBO case works.
1347 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1353 BM_KERNEL: /lava-files/db820c-kernel
1354 BM_DTB: /lava-files/db820c.dtb
1355 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1356 # current upstream kernel.
1357 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1358 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1359 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1360 DEQP_EXPECTED_RENDERER: FD530
1362 - google-freedreno-db820c
1386 extends: .radv-rules
1390 ACO_DEBUG: validateir,validatera
1392 # Can only be triggered manually on personal branches because RADV is the only
1393 # driver that does Vulkan testing at the moment.
1394 radv_polaris10_vkcts:
1400 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1410 - export RADV_FORCE_FAMILY="pitcairn"
1411 - ./install/fossilize-runner.sh
1413 - export RADV_FORCE_FAMILY="bonaire"
1414 - ./install/fossilize-runner.sh
1416 - export RADV_FORCE_FAMILY="polaris10"
1417 - ./install/fossilize-runner.sh
1419 - export RADV_FORCE_FAMILY="gfx900"
1420 - ./install/fossilize-runner.sh
1422 - export RADV_FORCE_FAMILY="gfx1010"
1423 - ./install/fossilize-runner.sh
1424 # Sienna Cichlid (GFX10)
1425 - export RADV_FORCE_FAMILY="gfx1030"
1426 - ./install/fossilize-runner.sh
1435 TRACIE_UPLOAD_TO_MINIO: 1
1438 junit: results/junit.xml
1445 - ./install/tracie-runner-gl.sh
1452 - ./install/tracie-runner-vk.sh
1459 LIBGL_ALWAYS_SOFTWARE: "true"
1460 GALLIUM_DRIVER: "llvmpipe"
1461 DEVICE_NAME: "gl-vmware-llvmpipe"
1462 DRIVER_NAME: "llvmpipe"
1464 radv-polaris10-traces:
1470 DEVICE_NAME: "vk-amd-polaris10"
1481 DEVICE_NAME: "vk-amd-raven"
1491 LIBGL_ALWAYS_SOFTWARE: "true"
1492 GALLIUM_DRIVER: "virpipe"
1493 DEVICE_NAME: "gl-virgl"
1494 DRIVER_NAME: "virgl"
1495 MESA_GLES_VERSION_OVERRIDE: "3.1"
1496 MESA_GLSL_VERSION_OVERRIDE: "310"