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'
36 # Generic rule to not run the job during scheduled pipelines
37 # ----------------------------------------------------------
38 .scheduled_pipelines-rules:
39 rules: &ignore_scheduled_pipelines
40 if: &is-scheduled-pipeline '$CI_PIPELINE_SOURCE == "schedule"'
43 # YAML anchors for rule conditions
44 # --------------------------------
48 - if: &is-for-marge '$GITLAB_USER_LOGIN == "marge-bot"'
50 # Forked project branch
51 - if: &is-forked-branch '$CI_PROJECT_NAMESPACE != "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
53 # Forked project branch / pre-merge pipeline
54 - if: &is-forked-branch-or-pre-merge '$CI_PROJECT_NAMESPACE != "mesa" || $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
56 # Pipeline runs for the master branch of the main project
57 - if: &is-main-master '$CI_PROJECT_NAMESPACE == "mesa" && $CI_COMMIT_REF_NAME == "master" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != "master"'
60 - if: &is-post-merge '$CI_PROJECT_NAMESPACE == "mesa" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME != $CI_COMMIT_REF_NAME'
62 # Post-merge pipeline, not for Marge Bot
63 - 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'
66 - if: &is-pre-merge '$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
68 # Pre-merge pipeline for Marge Bot
69 - if: &is-pre-merge-for-marge '$GITLAB_USER_LOGIN == "marge-bot" && $CI_MERGE_REQUEST_SOURCE_BRANCH_NAME == $CI_COMMIT_REF_NAME'
78 - apk --no-cache add graphviz
79 - pip3 install sphinx sphinx_rtd_theme
80 - sphinx-build -b html docs public
90 - *ignore_scheduled_pipelines
96 # Other cases default to never
100 # Cancel job if a newer commit is pushed to the same branch
106 - if: *is-pre-merge-for-marge
109 - if: *is-forked-branch-or-pre-merge
112 # Other cases default to never
114 # When to automatically run the CI
117 - *ignore_scheduled_pipelines
118 # If any files affecting the pipeline are changed, build/test jobs run
119 # automatically once all dependency jobs have passed
120 - changes: &all_paths
122 - bin/git_sha1_gen.py
123 - bin/install_megadrivers.py
124 - bin/meson_get_version.py
125 - bin/symbols-check.py
141 # Otherwise, build/test jobs won't run
146 - runner_system_failure
150 image: debian:stable-slim
152 - *ignore_scheduled_pipelines
158 - changes: *all_paths
165 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
170 name: "mesa_${CI_JOB_NAME}"
174 # Watch out! Artifacts are relative to the build dir.
175 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
178 # Build the CI docker images.
180 # FDO_DISTRIBUTION_TAG is the tag of the docker image used by later stage jobs. If the
181 # image doesn't exist yet, the container stage job generates it.
183 # In order to generate a new image, one should generally change the tag.
184 # While removing the image from the registry would also work, that's not
185 # recommended except for ephemeral images during development: Replacing
186 # an image after a significant amount of time might pull in newer
187 # versions of gcc/clang or other packages, which might break the build
188 # with older commits using the same tag.
190 # After merging a change resulting in generating a new image to the
191 # main repository, it's recommended to remove the image from the source
192 # repository's container registry, so that the image from the main
193 # repository's registry will be used there as well.
200 - *ignore_scheduled_pipelines
201 # Run pipeline by default in the main project if any CI pipeline
202 # configuration files were changed, to ensure docker images are up to date
208 # Run pipeline by default if it was triggered by Marge Bot, is for a
209 # merge request, and any files affecting the pipeline were changed
210 - if: *is-pre-merge-for-marge
214 # Run pipeline by default in the main project if it was not triggered by
215 # Marge Bot, and any files affecting the pipeline were changed
216 - if: *is-post-merge-not-for-marge
220 # Allow triggering jobs manually in other cases if any files affecting the
221 # pipeline were changed
225 # Otherwise, container jobs won't run
228 FDO_DISTRIBUTION_VERSION: buster-slim
229 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
230 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
231 # no need to pull the whole repo to build the container image
234 # Debian 10 based x86 build image base
237 - .fdo.container-build@debian
240 FDO_DISTRIBUTION_TAG: &x86_build-base "2020-12-02"
248 BASE_TAG: *x86_build-base
249 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:$BASE_TAG"
253 # Debian 10 based x86 main build image
256 - .use-x86_build-base
258 FDO_DISTRIBUTION_TAG: &x86_build "2020-12-02"
263 image: "$CI_REGISTRY_IMAGE/debian/x86_build:$TAG"
267 # Debian 10 based i386 cross-build image
270 - .use-x86_build-base
272 FDO_DISTRIBUTION_TAG: &i386_build "2020-12-02"
277 image: "$CI_REGISTRY_IMAGE/debian/i386_build:$TAG"
281 # Debian 10 based ppc64el cross-build image
284 - .use-x86_build-base
286 FDO_DISTRIBUTION_TAG: &ppc64el_build "2020-12-02"
291 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:$TAG"
295 # Debian 10 based s390x cross-build image
298 - .use-x86_build-base
300 FDO_DISTRIBUTION_TAG: &s390x_build "2020-12-02"
305 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:$TAG"
309 # Android NDK cross-build image
312 - .use-x86_build-base
314 FDO_DISTRIBUTION_TAG: &android_build "2020-12-02"
319 image: "$CI_REGISTRY_IMAGE/debian/android_build:$TAG"
323 # Debian 10 based x86 test image base
325 extends: x86_build-base
327 FDO_DISTRIBUTION_TAG: &x86_test-base "2020-12-02"
335 BASE_TAG: *x86_test-base
336 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:$BASE_TAG"
340 # Debian 10 based x86 test image for GL
342 extends: .use-x86_test-base
344 FDO_DISTRIBUTION_TAG: &x86_test-gl "2020-11-06-deqp-version"
346 # Debian 10 based x86 test image for VK
348 extends: .use-x86_test-base
350 FDO_DISTRIBUTION_TAG: &x86_test-vk "2020-11-06-deqp-version"
352 # Debian 9 based x86 build image (old LLVM)
354 extends: x86_build-base
356 FDO_DISTRIBUTION_TAG: &x86_build_old "2020-12-02"
357 FDO_DISTRIBUTION_VERSION: stretch-slim
362 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:$TAG"
366 # Debian 10 based ARM build image
369 - .fdo.container-build@debian@arm64v8
372 FDO_DISTRIBUTION_TAG: &arm_build "2020-12-02"
377 image: "$CI_REGISTRY_IMAGE/debian/arm_build:$TAG"
381 # Debian 10 based x86 baremetal image base
384 - .fdo.container-build@debian
387 FDO_DISTRIBUTION_TAG: &arm_test-base "2020-12-03-expect"
395 BASE_TAG: *arm_test-base
396 FDO_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:$BASE_TAG"
400 # x86 image with ARM64 rootfs for baremetal testing.
405 FDO_DISTRIBUTION_TAG: &arm64_test "2020-12-03-expect"
410 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:$TAG"
414 # x86 image with armhf rootfs for baremetal testing
419 FDO_DISTRIBUTION_TAG: &armhf_test "2020-12-03-expect"
424 image: "$CI_REGISTRY_IMAGE/debian/armhf_test:$TAG"
428 # Native Windows docker builds
430 # Unlike the above Linux-based builds - including MinGW/SCons builds which
431 # cross-compile for Windows - which use the freedesktop ci-templates, we
432 # cannot use the same scheme here. As Windows lacks support for
433 # Docker-in-Docker, and Podman does not run natively on Windows, we have
434 # to open-code much of the same ourselves.
436 # This is achieved by first running in a native Windows shell instance
437 # (host PowerShell) in the container stage to build and push the image,
438 # then in the build stage by executing inside Docker.
440 .windows-docker-vs2019:
442 WINDOWS_TAG: "2020-12-02"
443 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:$WINDOWS_TAG"
444 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:$WINDOWS_TAG"
446 windows_build_vs2019:
449 - .windows-docker-vs2019
452 GIT_STRATEGY: fetch # we do actually need the full repository though
453 timeout: 2h # LLVM + piglit takes ages
460 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
462 .use-windows_build_vs2019:
463 extends: .windows-docker-vs2019
464 image: "$WINDOWS_IMAGE"
466 - windows_build_vs2019
476 - if: *is-scheduled-pipeline
478 # ensure we are running on packet
482 # Compactify the .git directory
483 - git gc --aggressive
484 # compress the current folder
485 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
487 # login with the JWT token
488 - ci-fairy minio login $CI_JOB_JWT
489 - 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
492 # Sanity checks of MR settings and commit logs
500 - if: *is-forked-branch
502 # Other cases default to never
504 # ci-fairy check-commits --junit-xml=check-commits.xml
505 # ci-fairy check-merge-request only works in pre-merge pipelines for MRs
506 - if test "x$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" != "x$CI_COMMIT_REF_NAME"; then exit 0; fi
507 - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=check-merge-request.xml
516 # Shared between windows and Linux
518 extends: .ci-run-policy
519 # Cancel job if a newer commit is pushed to the same branch
522 name: "mesa_${CI_JOB_NAME}"
525 - _build/meson-logs/*.txt
532 extends: .build-common
534 CCACHE_COMPILERCHECK: "content"
535 CCACHE_COMPRESS: "true"
536 CCACHE_DIR: /cache/mesa/ccache
537 # Use ccache transparently, and print stats before/after
539 - export PATH="/usr/lib/ccache:$PATH"
540 - export CCACHE_BASEDIR="$PWD"
541 - ccache --show-stats
543 - ccache --show-stats
546 extends: .build-common
555 - subprojects/packagecache
565 - .gitlab-ci/meson-build.sh
573 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
588 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
590 BUILDTYPE: "debugoptimized"
596 - .gitlab-ci/meson-build.sh
597 - .gitlab-ci/prepare-artifacts.sh
599 meson-clover-testing:
611 -D gallium-opencl=icd
613 GALLIUM_DRIVERS: "swrast"
614 BUILDTYPE: "debugoptimized"
618 - .gitlab-ci/meson-build.sh
619 - .gitlab-ci/prepare-artifacts.sh
622 extends: .meson-build
629 -D platforms=x11,wayland
632 -D gallium-extra-hud=true
633 -D gallium-vdpau=enabled
634 -D gallium-xvmc=enabled
635 -D gallium-omx=bellagio
636 -D gallium-va=enabled
637 -D gallium-xa=enabled
639 -D gallium-opencl=disabled
640 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
641 VULKAN_DRIVERS: swrast
647 - .gitlab-ci/meson-build.sh
648 - .gitlab-ci/run-shader-db.sh
649 - src/freedreno/.gitlab-ci/run-fdtools.sh
651 # Test a release build with -Werror so new warnings don't sneak in.
653 extends: .meson-build
660 -D platforms=x11,wayland
663 -D gallium-extra-hud=true
664 -D gallium-vdpau=enabled
665 -D gallium-xvmc=disabled
666 -D gallium-omx=disabled
667 -D gallium-va=enabled
668 -D gallium-xa=enabled
669 -D gallium-nine=false
670 -D gallium-opencl=disabled
672 GALLIUM_DRIVERS: "nouveau,kmsro,freedreno,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
679 - .gitlab-ci/meson-build.sh
682 extends: .meson-build
689 -D platforms=x11,wayland
710 -D platform-sdk-version=26
713 -D gallium-vdpau=disabled
714 -D gallium-xvmc=disabled
715 -D gallium-omx=disabled
716 -D gallium-va=disabled
717 -D gallium-xa=disabled
718 -D gallium-nine=false
719 -D gallium-opencl=disabled
722 # arm64 build: Can't build v3d/vc4 because they require expat for v3d_decode.
723 - 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
725 # Can't do Intel because gen_decoder.c currently requires libexpat, which
726 # is not a dependency that AOSP wants to accept. Can't do Radeon because
727 # it requires LLVM, which we don't have an Android build of.
728 # - 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
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
759 VULKAN_DRIVERS: freedreno,broadcom
760 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
761 BUILDTYPE: "debugoptimized"
777 - .gitlab-ci/meson-build.sh
778 - .gitlab-ci/prepare-artifacts.sh
785 VULKAN_DRIVERS: "freedreno,broadcom"
791 - .gitlab-ci/meson-build.sh
792 - .gitlab-ci/prepare-artifacts.sh
794 meson-arm64-build-test:
799 VULKAN_DRIVERS: "amd"
804 - .gitlab-ci/meson-build.sh
807 extends: .meson-build
813 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,radeonsi,tegra"
814 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
815 CC: "ccache clang-10"
816 CXX: "ccache clang++-10"
818 meson-windows-vs2019:
821 - .use-windows_build_vs2019
824 - . .\.gitlab-ci\windows\mesa_build.ps1
832 - .use-windows_build_vs2019
833 stage: layered-backends
835 - meson-windows-vs2019
837 - meson-windows-vs2019
839 GIT_STRATEGY: none # testing doesn't build anything from source
840 GALLIUM_DRIVER: d3d12
841 PIGLIT_PROFILE: quick_gl
842 PIGLIT_OPTIONS: -x nv_copy_depth_to_color
844 - . _install/piglit_run.ps1
847 name: "mesa_${CI_JOB_NAME}"
852 extends: .scons-build
854 SCONS_TARGET: platform=windows machine=x86_64 debug=1
855 SCONS_CHECK_COMMAND: "true"
859 extends: .meson-build
866 GALLIUM_DRIVERS: "r600,radeonsi"
869 -D gallium-vdpau=disabled
870 -D gallium-xvmc=disabled
871 -D gallium-omx=disabled
872 -D gallium-va=disabled
873 -D gallium-xa=disabled
874 -D gallium-nine=false
875 -D gallium-opencl=icd
879 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
880 - LLVM_VERSION=9 .gitlab-ci/meson-build.sh
881 - .gitlab-ci/meson-build.sh
884 extends: .meson-build
891 -D platforms=x11,wayland
895 -D gallium-vdpau=disabled
896 -D gallium-xvmc=disabled
897 -D gallium-omx=disabled
898 -D gallium-va=disabled
899 -D gallium-xa=disabled
900 -D gallium-nine=false
901 -D gallium-opencl=disabled
902 -D b_sanitize=undefined
903 -D c_args=-fno-sanitize-recover=all
904 -D cpp_args=-fno-sanitize-recover=all
905 UBSAN_OPTIONS: "print_stacktrace=1"
906 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
908 -D vulkan-overlay-layer=true
909 -D vulkan-device-select-layer=true
910 -D build-aco-tests=true
919 VULKAN_DRIVERS: intel,amd
920 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
922 -D vulkan-overlay-layer=true
923 -D vulkan-device-select-layer=true
936 GALLIUM_DRIVERS: "swrast"
945 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
946 VULKAN_DRIVERS: "amd"
948 meson-mingw32-x86_64:
949 extends: .meson-build
954 GALLIUM_DRIVERS: "swrast"
958 --cross-file=.gitlab-ci/x86_64-w64-mingw32
963 # Cancel job if a newer commit is pushed to the same branch
966 GIT_STRATEGY: none # testing doesn't build anything from source
968 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
970 - tar -xf artifacts/install.tar
971 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
974 name: "mesa_${CI_JOB_NAME}"
983 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:$TAG"
999 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:$TAG"
1009 - meson-clover-testing
1017 name: "mesa_${CI_JOB_NAME}"
1021 LIBGL_ALWAYS_SOFTWARE: 1
1024 - install/piglit/run.sh
1030 - .llvmpipe-cl-rules
1036 -x bswap -x phatk -x clz-optimizations
1038 - install/piglit/run_cl.sh
1040 llvmpipe-piglit-quick_gl:
1041 extends: .piglit-test
1045 --process-isolation false
1047 -x egl_ext_platform_device
1048 -x ext_timer_query@time-elapsed
1049 -x glx-multithread-clearbuffer
1050 -x glx-multithread-shader-compile
1053 PIGLIT_PROFILES: quick_gl
1055 llvmpipe-piglit-glslparser:
1056 extends: .piglit-test
1059 PIGLIT_PROFILES: glslparser
1061 llvmpipe-piglit-quick_shader:
1062 extends: .piglit-test
1065 PIGLIT_PROFILES: quick_shader
1069 DEQP_SKIPS: deqp-default-skips.txt
1071 - ./install/deqp-runner.sh
1088 - ./install/fossilize-runner.sh
1091 name: "mesa_${CI_JOB_NAME}"
1098 # Don't use threads inside llvmpipe, we've already got all cores
1099 # busy at the deqp-runner level.
1101 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
1102 LIBGL_ALWAYS_SOFTWARE: "true"
1103 DEQP_EXPECTED_RENDERER: llvmpipe
1113 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
1114 DEQP_SKIPS: deqp-softpipe-skips.txt
1115 DEQP_FLAKES: deqp-softpipe-flakes.txt
1116 GALLIUM_DRIVER: "softpipe"
1117 DEQP_EXPECTED_RENDERER: softpipe
1122 extends: softpipe-gles2
1128 extends: softpipe-gles2
1130 # Note that KHR-GL3* test sets include all tests from the previous
1131 # version, so we only need to run one test list (unlike dEQP-GLES,
1132 # where the test sets are separate).
1142 DEQP_NO_SAVE_RESULTS: 1
1143 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1144 # Don't use threads inside llvmpipe, we've already got all cores
1145 # busy at the deqp-runner level.
1147 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1148 DEQP_OPTIONS: "--deqp-log-images=disable"
1149 LIBGL_ALWAYS_SOFTWARE: "true"
1150 GALLIUM_DRIVER: "virpipe"
1151 DEQP_EXPECTED_RENDERER: virgl
1159 DEQP_RUNNER_OPTIONS: "--timeout 180"
1160 extends: virgl-gles2-on-gl
1166 MESA_GLES_VERSION_OVERRIDE: "3.1"
1167 MESA_GLSL_VERSION_OVERRIDE: "310"
1168 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1169 extends: virgl-gles3-on-gl
1174 extends: virgl-gles2-on-gl
1179 extends: virgl-gles2-on-gl
1184 extends: virgl-gles2-on-gl
1186 # Rules for tests that should not be present in MRs or the main
1187 # project's pipeline (don't block marge or report red on
1188 # mesa/mesamaster) but should be present on pipelines in personal
1189 # branches (so you can opt in to running the flaky test when you want
1193 - *ignore_scheduled_pipelines
1194 - if: *is-forked-branch
1200 virgl-gles2-on-gles:
1202 VIRGL_HOST_API: GLES
1203 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1208 virgl-gles3-on-gles:
1210 VIRGL_HOST_API: GLES
1211 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1216 virgl-gles31-on-gles:
1218 VIRGL_HOST_API: GLES
1219 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1221 - virgl-gles31-on-gl
1228 BM_KERNEL: /lava-files/cheza-kernel
1229 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1230 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1231 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1232 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
1234 DEQP_EXPECTED_RENDERER: FD630
1235 DEQP_NO_SAVE_RESULTS: ""
1236 VK_DRIVER: freedreno
1238 - google-freedreno-cheza
1240 - ./install/bare-metal/cros-servo.sh
1243 extends: arm64_a630_gles2
1248 extends: arm64_a630_gles2
1256 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1257 DEVICE_NAME: "freedreno-a630"
1258 DRIVER_NAME: "freedreno"
1259 TRACIE_NO_UNIT_TESTS: 1
1260 TRACIE_UPLOAD_TO_MINIO: 1
1261 # This lets us run several more traces which don't use any features we're
1263 MESA_GLSL_VERSION_OVERRIDE: "460"
1264 MESA_GL_VERSION_OVERRIDE: "4.6"
1267 junit: results/junit.xml
1270 extends: arm64_a630_gles2
1274 arm64_a630_gles_others:
1275 extends: arm64_a630_gles2
1277 BARE_METAL_TEST_SCRIPT: "/install/bare-metal/arm64_a630_gles_others.sh"
1280 extends: arm64_a630_gles2
1285 # Force binning in the main run, which makes sure we render at
1286 # least 2 bins. This is the path that impacts the most different
1287 # features. However, we end up with flaky results in
1288 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1291 # Do a separate sysmem pass over the testcases that really affect sysmem
1292 # rendering. This is currently very flaky, leave it as an option for devs
1293 # to click play on in their branches.
1294 arm64_a630_vk_sysmem:
1300 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1301 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1308 # Cancel job if a newer commit is pushed to the same branch
1313 name: "mesa_${CI_JOB_NAME}"
1324 BM_KERNEL: /lava-files/Image.gz
1325 BM_DTB: /lava-files/apq8016-sbc.dtb
1326 BM_ROOTFS: /lava-files/rootfs-arm64
1327 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1328 FLAKES_CHANNEL: "#freedreno-ci"
1329 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1330 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1331 DEQP_SKIPS: deqp-default-skips.txt
1332 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1335 DEQP_EXPECTED_RENDERER: FD307
1336 # Since we can't get artifacts back yet, skip making them.
1337 DEQP_NO_SAVE_RESULTS: 1
1339 - ./install/bare-metal/fastboot.sh
1344 - google-freedreno-db410c
1346 # Fractional run, single threaded, due to flaky results
1355 # Fractional runs with debug options. Note that since we're not
1356 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1357 arm64_a306_gles3_options:
1358 extends: arm64_a306_gles2
1362 # Check that the non-constbuf UBO case works.
1363 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1369 BM_KERNEL: /lava-files/db820c-kernel
1370 BM_DTB: /lava-files/db820c.dtb
1371 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1372 # current upstream kernel.
1373 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1374 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1375 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1376 DEQP_EXPECTED_RENDERER: FD530
1378 - google-freedreno-db820c
1400 vc4-rpi3-gles2:armhf:
1407 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1408 BM_BOOTFS: /boot/armhf
1409 BM_KERNEL_MODULES: vc4
1410 BM_ROOTFS: /lava-files/rootfs-armhf
1411 BM_ROOTFS_EXTRA: /modules/armhf
1412 DEQP_EXPECTED_FAILS: deqp-vc4-rpi3-fails.txt
1413 DEQP_EXPECTED_RENDERER: VC4
1414 DEQP_FLAKES: deqp-vc4-rpi3-flakes.txt
1415 DEQP_SKIPS: deqp-vc4-rpi3-skips.txt
1418 - ./install/bare-metal/poe-powered.sh
1427 extends: .radv-rules
1431 ACO_DEBUG: validateir,validatera
1433 # Can only be triggered manually on personal branches because RADV is the only
1434 # driver that does Vulkan testing at the moment.
1435 radv_polaris10_vkcts:
1441 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1451 - export RADV_FORCE_FAMILY="pitcairn"
1452 - ./install/fossilize-runner.sh
1454 - export RADV_FORCE_FAMILY="bonaire"
1455 - ./install/fossilize-runner.sh
1457 - export RADV_FORCE_FAMILY="polaris10"
1458 - ./install/fossilize-runner.sh
1460 - export RADV_FORCE_FAMILY="gfx900"
1461 - ./install/fossilize-runner.sh
1463 - export RADV_FORCE_FAMILY="gfx1010"
1464 - ./install/fossilize-runner.sh
1465 # Sienna Cichlid (GFX10)
1466 - export RADV_FORCE_FAMILY="gfx1030"
1467 - ./install/fossilize-runner.sh
1476 TRACIE_UPLOAD_TO_MINIO: 1
1479 junit: results/junit.xml
1486 - ./install/tracie-runner-gl.sh
1493 - ./install/tracie-runner-vk.sh
1500 LIBGL_ALWAYS_SOFTWARE: "true"
1501 GALLIUM_DRIVER: "llvmpipe"
1502 DEVICE_NAME: "gl-vmware-llvmpipe"
1503 DRIVER_NAME: "llvmpipe"
1505 radv-polaris10-traces:
1511 DEVICE_NAME: "vk-amd-polaris10"
1522 DEVICE_NAME: "vk-amd-raven"
1532 LIBGL_ALWAYS_SOFTWARE: "true"
1533 GALLIUM_DRIVER: "virpipe"
1534 DEVICE_NAME: "gl-virgl"
1535 DRIVER_NAME: "virgl"
1536 MESA_GLES_VERSION_OVERRIDE: "3.1"
1537 MESA_GLSL_VERSION_OVERRIDE: "310"