2 FDO_UPSTREAM_REPO: mesa/mesa
3 MESA_TEMPLATES_COMMIT: &ci-templates-commit 43ac932d5b8ebf43040d302de3c6e734df178384
4 CI_PRE_CLONE_SCRIPT: |-
6 /usr/bin/wget -q -O- ${CI_PROJECT_URL}/-/raw/${CI_COMMIT_SHA}/.gitlab-ci/download-git-cache.sh | sh -
10 - project: 'freedesktop/ci-templates'
11 ref: *ci-templates-commit
13 - '/templates/ci-fairy.yml'
14 - project: 'freedesktop/ci-templates'
15 ref: 52dd4a94044449c8481d18dcdc221a3c636366d2
17 - '/templates/debian.yml'
18 - local: '.gitlab-ci/lava-gitlab-ci.yml'
19 - 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
106 - *ignore_scheduled_pipelines
107 - if: *is-forked-branch
110 # Other cases default to never
118 - if: *is-pre-merge-for-marge
124 # Other cases default to never
126 # When to automatically run the CI
129 - *ignore_scheduled_pipelines
130 # If any files affecting the pipeline are changed, build/test jobs run
131 # automatically once all dependency jobs have passed
132 - changes: &all_paths
134 - bin/git_sha1_gen.py
135 - bin/install_megadrivers.py
136 - bin/meson_get_version.py
137 - bin/symbols-check.py
153 # Otherwise, build/test jobs won't run
158 - runner_system_failure
162 image: debian:stable-slim
164 - *ignore_scheduled_pipelines
170 - changes: *all_paths
177 - echo "Dummy job to make sure every merge request pipeline runs at least one job"
182 name: "mesa_${CI_JOB_NAME}"
186 # Watch out! Artifacts are relative to the build dir.
187 # https://gitlab.com/gitlab-org/gitlab-ce/commit/8788fb925706cad594adf6917a6c5f6587dd1521
190 # Build the CI docker images.
192 # MESA_IMAGE_TAG is the tag of the docker image used by later stage jobs. If the
193 # image doesn't exist yet, the container stage job generates it.
195 # In order to generate a new image, one should generally change the tag.
196 # While removing the image from the registry would also work, that's not
197 # recommended except for ephemeral images during development: Replacing
198 # an image after a significant amount of time might pull in newer
199 # versions of gcc/clang or other packages, which might break the build
200 # with older commits using the same tag.
202 # After merging a change resulting in generating a new image to the
203 # main repository, it's recommended to remove the image from the source
204 # repository's container registry, so that the image from the main
205 # repository's registry will be used there as well.
212 - *ignore_scheduled_pipelines
213 # Run pipeline by default in the main project if any CI pipeline
214 # configuration files were changed, to ensure docker images are up to date
220 # Run pipeline by default if it was triggered by Marge Bot, is for a
221 # merge request, and any files affecting the pipeline were changed
222 - if: *is-pre-merge-for-marge
226 # Run pipeline by default in the main project if it was not triggered by
227 # Marge Bot, and any files affecting the pipeline were changed
228 - if: *is-post-merge-not-for-marge
232 # Allow triggering jobs manually in other cases if any files affecting the
233 # pipeline were changed
237 # Otherwise, container jobs won't run
240 FDO_DISTRIBUTION_TAG: "${MESA_IMAGE_TAG}-${MESA_TEMPLATES_COMMIT}"
241 FDO_DISTRIBUTION_VERSION: buster-slim
242 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
243 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
244 # no need to pull the whole repo to build the container image
250 # Don't want the .container rules
254 FDO_BASE_IMAGE: "${CI_REGISTRY_IMAGE}/${MESA_BASE_IMAGE}:${MESA_BASE_TAG}-${MESA_TEMPLATES_COMMIT}"
256 # Debian 10 based x86 build image base
259 - .fdo.container-build@debian
262 MESA_IMAGE_TAG: &x86_build-base "2020-12-09-sanitizers"
266 - .fdo.container-build@debian
269 MESA_BASE_IMAGE: "debian/x86_build-base"
270 MESA_BASE_TAG: *x86_build-base
274 # Debian 10 based x86 main build image
277 - .use-x86_build-base
279 MESA_IMAGE_TAG: &x86_build "2020-12-11-sanitizers"
284 image: "$CI_REGISTRY_IMAGE/debian/x86_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
288 # Debian 10 based i386 cross-build image
291 - .use-x86_build-base
293 MESA_IMAGE_TAG: &i386_build "2020-12-09-sanitizers"
298 image: "$CI_REGISTRY_IMAGE/debian/i386_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
302 # Debian 10 based ppc64el cross-build image
305 - .use-x86_build-base
307 MESA_IMAGE_TAG: &ppc64el_build "2020-12-09-sanitizers"
312 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
316 # Debian 10 based s390x cross-build image
319 - .use-x86_build-base
321 MESA_IMAGE_TAG: &s390x_build "2020-12-09-sanitizers"
326 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
330 # Android NDK cross-build image
333 - .use-x86_build-base
335 MESA_IMAGE_TAG: &android_build "2020-12-09-sanitizers"
340 image: "$CI_REGISTRY_IMAGE/debian/android_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
344 # Debian 10 based x86 test image base
346 extends: x86_build-base
348 MESA_IMAGE_TAG: &x86_test-base "2020-12-09-sanitizers"
352 - .fdo.container-build@debian
355 MESA_BASE_IMAGE: "debian/x86_test-base"
356 MESA_BASE_TAG: *x86_test-base
360 # Debian 10 based x86 test image for GL
362 extends: .use-x86_test-base
364 MESA_IMAGE_TAG: &x86_test-gl "2020-12-14-cts"
366 # Debian 10 based x86 test image for VK
368 extends: .use-x86_test-base
370 MESA_IMAGE_TAG: &x86_test-vk "2020-12-14-cts"
372 # Debian 10 based ARM build image
375 - .fdo.container-build@debian@arm64v8
378 MESA_IMAGE_TAG: &arm_build "2020-12-02"
383 image: "$CI_REGISTRY_IMAGE/debian/arm_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
387 # Debian 10 based x86 baremetal image base
390 - .fdo.container-build@debian
393 MESA_IMAGE_TAG: &arm_test-base "2020-12-03-expect"
397 - .fdo.container-build@debian
400 MESA_BASE_IMAGE: "debian/arm_test-base"
401 MESA_BASE_TAG: *arm_test-base
405 # x86 image with ARM64 rootfs for baremetal testing.
410 MESA_IMAGE_TAG: &arm64_test "2020-12-14-cts"
415 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:${TAG}-${MESA_TEMPLATES_COMMIT}"
419 # x86 image with armhf rootfs for baremetal testing
424 MESA_IMAGE_TAG: &armhf_test "2020-12-14-cts"
429 image: "$CI_REGISTRY_IMAGE/debian/armhf_test:${TAG}-${MESA_TEMPLATES_COMMIT}"
433 # Native Windows docker builds
435 # Unlike the above Linux-based builds - including MinGW/SCons builds which
436 # cross-compile for Windows - which use the freedesktop ci-templates, we
437 # cannot use the same scheme here. As Windows lacks support for
438 # Docker-in-Docker, and Podman does not run natively on Windows, we have
439 # to open-code much of the same ourselves.
441 # This is achieved by first running in a native Windows shell instance
442 # (host PowerShell) in the container stage to build and push the image,
443 # then in the build stage by executing inside Docker.
445 .windows-docker-vs2019:
447 WINDOWS_TAG: "2020-12-02"
448 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:${WINDOWS_TAG}-${MESA_TEMPLATES_COMMIT}"
449 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:${WINDOWS_TAG}-${MESA_TEMPLATES_COMMIT}"
451 windows_build_vs2019:
454 - .windows-docker-vs2019
457 GIT_STRATEGY: fetch # we do actually need the full repository though
458 timeout: 2h # LLVM + piglit takes ages
465 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
467 .use-windows_build_vs2019:
468 extends: .windows-docker-vs2019
469 image: "$WINDOWS_IMAGE"
471 - windows_build_vs2019
481 - if: *is-scheduled-pipeline
483 # ensure we are running on packet
487 # Compactify the .git directory
488 - git gc --aggressive
489 # compress the current folder
490 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
492 # login with the JWT token
493 - ci-fairy minio login $CI_JOB_JWT
494 - 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
497 # Sanity checks of MR settings and commit logs
505 # Other cases default to never
509 # ci-fairy check-commits --junit-xml=check-commits.xml
510 - ci-fairy check-merge-request --require-allow-collaboration --junit-xml=check-merge-request.xml
519 # Shared between windows and Linux
521 extends: .ci-run-policy
522 # Cancel job if a newer commit is pushed to the same branch
525 name: "mesa_${CI_JOB_NAME}"
528 - _build/meson-logs/*.txt
535 extends: .build-common
537 CCACHE_COMPILERCHECK: "content"
538 CCACHE_COMPRESS: "true"
539 CCACHE_DIR: /cache/mesa/ccache
540 # Use ccache transparently, and print stats before/after
542 - export PATH="/usr/lib/ccache:$PATH"
543 - export CCACHE_BASEDIR="$PWD"
544 - ccache --show-stats
546 - ccache --show-stats
549 extends: .build-common
558 - subprojects/packagecache
568 - .gitlab-ci/meson-build.sh
576 - env SCONSFLAGS="-j${FDO_CI_CONCURRENT:-4}" .gitlab-ci/scons-build.sh
591 GALLIUM_DRIVERS: "swrast,virgl,radeonsi"
592 VULKAN_DRIVERS: "swrast,amd"
593 BUILDTYPE: "debugoptimized"
599 - .gitlab-ci/meson-build.sh
600 - .gitlab-ci/prepare-artifacts.sh
607 -D b_sanitize=address
610 meson-clover-testing:
622 -D gallium-opencl=icd
624 GALLIUM_DRIVERS: "swrast"
625 BUILDTYPE: "debugoptimized"
629 - .gitlab-ci/meson-build.sh
630 - .gitlab-ci/prepare-artifacts.sh
633 extends: .meson-build
640 -D platforms=x11,wayland
643 -D gallium-extra-hud=true
644 -D gallium-vdpau=enabled
645 -D gallium-xvmc=enabled
646 -D gallium-omx=bellagio
647 -D gallium-va=enabled
648 -D gallium-xa=enabled
650 -D gallium-opencl=disabled
651 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
652 VULKAN_DRIVERS: swrast
658 - .gitlab-ci/meson-build.sh
659 - .gitlab-ci/run-shader-db.sh
660 - src/freedreno/.gitlab-ci/run-fdtools.sh
662 # Test a release build with -Werror so new warnings don't sneak in.
664 extends: .meson-build
671 -D platforms=x11,wayland
674 -D gallium-extra-hud=true
675 -D gallium-vdpau=enabled
676 -D gallium-xvmc=disabled
677 -D gallium-omx=disabled
678 -D gallium-va=enabled
679 -D gallium-xa=enabled
680 -D gallium-nine=false
681 -D gallium-opencl=disabled
683 GALLIUM_DRIVERS: "nouveau,kmsro,freedreno,r300,svga,swrast,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
690 - .gitlab-ci/meson-build.sh
706 -D platform-sdk-version=26
709 -D gallium-vdpau=disabled
710 -D gallium-xvmc=disabled
711 -D gallium-omx=disabled
712 -D gallium-va=disabled
713 -D gallium-xa=disabled
714 -D gallium-nine=false
715 -D gallium-opencl=disabled
718 # arm64 build: Can't build v3d/vc4 because they require expat for v3d_decode.
719 - 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
721 # Can't do Intel because gen_decoder.c currently requires libexpat, which
722 # is not a dependency that AOSP wants to accept. Can't do Radeon because
723 # it requires LLVM, which we don't have an Android build of.
724 # - 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
740 -D gallium-vdpau=disabled
741 -D gallium-xvmc=disabled
742 -D gallium-omx=disabled
743 -D gallium-va=disabled
744 -D gallium-xa=disabled
745 -D gallium-nine=false
755 VULKAN_DRIVERS: freedreno,broadcom
756 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
757 BUILDTYPE: "debugoptimized"
773 - .gitlab-ci/meson-build.sh
774 - .gitlab-ci/prepare-artifacts.sh
781 VULKAN_DRIVERS: "freedreno,broadcom"
787 - .gitlab-ci/meson-build.sh
788 - .gitlab-ci/prepare-artifacts.sh
790 meson-arm64-build-test:
795 VULKAN_DRIVERS: "amd"
800 - .gitlab-ci/meson-build.sh
803 extends: .meson-build
809 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,radeonsi,tegra"
810 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
811 CC: "ccache clang-10"
812 CXX: "ccache clang++-10"
814 meson-windows-vs2019:
817 - .use-windows_build_vs2019
818 - .windows-build-rules
821 - . .\.gitlab-ci\windows\mesa_build.ps1
829 - .use-windows_build_vs2019
830 - .windows-test-rules
831 stage: layered-backends
833 - meson-windows-vs2019
835 - meson-windows-vs2019
837 GIT_STRATEGY: none # testing doesn't build anything from source
838 GALLIUM_DRIVER: d3d12
839 PIGLIT_PROFILE: quick_gl
840 PIGLIT_OPTIONS: -x nv_copy_depth_to_color -x repeat-wait
842 - . _install/piglit_run.ps1
845 name: "mesa_${CI_JOB_NAME}"
850 extends: .scons-build
852 SCONS_TARGET: platform=windows machine=x86_64 debug=1
853 SCONS_CHECK_COMMAND: "true"
857 extends: .meson-build
864 GALLIUM_DRIVERS: "r600,radeonsi"
867 -D gallium-vdpau=disabled
868 -D gallium-xvmc=disabled
869 -D gallium-omx=disabled
870 -D gallium-va=disabled
871 -D gallium-xa=disabled
872 -D gallium-nine=false
873 -D gallium-opencl=icd
877 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
878 - LLVM_VERSION=9 .gitlab-ci/meson-build.sh
879 - .gitlab-ci/meson-build.sh
882 extends: .meson-build
889 -D platforms=x11,wayland
893 -D gallium-vdpau=disabled
894 -D gallium-xvmc=disabled
895 -D gallium-omx=disabled
896 -D gallium-va=disabled
897 -D gallium-xa=disabled
898 -D gallium-nine=false
899 -D gallium-opencl=disabled
900 -D b_sanitize=undefined
901 -D c_args=-fno-sanitize-recover=all
902 -D cpp_args=-fno-sanitize-recover=all
903 UBSAN_OPTIONS: "print_stacktrace=1"
904 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
906 -D vulkan-overlay-layer=true
907 -D vulkan-device-select-layer=true
908 -D build-aco-tests=true
917 VULKAN_DRIVERS: intel,amd
918 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
920 -D vulkan-overlay-layer=true
921 -D vulkan-device-select-layer=true
934 GALLIUM_DRIVERS: "swrast"
943 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
944 VULKAN_DRIVERS: "amd"
946 meson-mingw32-x86_64:
947 extends: .meson-build
952 GALLIUM_DRIVERS: "swrast"
956 --cross-file=.gitlab-ci/x86_64-w64-mingw32
961 # Cancel job if a newer commit is pushed to the same branch
964 GIT_STRATEGY: none # testing doesn't build anything from source
966 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
968 - tar -xf artifacts/install.tar
969 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
972 name: "mesa_${CI_JOB_NAME}"
981 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:${TAG}-${MESA_TEMPLATES_COMMIT}"
997 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:${TAG}-${MESA_TEMPLATES_COMMIT}"
1007 - meson-clover-testing
1015 name: "mesa_${CI_JOB_NAME}"
1019 LIBGL_ALWAYS_SOFTWARE: 1
1022 - install/piglit/run.sh
1028 - .llvmpipe-cl-rules
1034 -x bswap -x phatk -x clz-optimizations
1036 - install/piglit/run_cl.sh
1038 llvmpipe-piglit-quick_gl:
1039 extends: .piglit-test
1043 --process-isolation false
1045 -x egl_ext_platform_device
1046 -x ext_timer_query@time-elapsed
1047 -x glx-multithread-clearbuffer
1048 -x glx-multithread-shader-compile
1051 PIGLIT_PROFILES: quick_gl
1053 llvmpipe-piglit-glslparser:
1054 extends: .piglit-test
1057 PIGLIT_PROFILES: glslparser
1059 llvmpipe-piglit-quick_shader:
1060 extends: .piglit-test
1063 PIGLIT_PROFILES: quick_shader
1067 DEQP_SKIPS: deqp-default-skips.txt
1069 - ./install/deqp-runner.sh
1086 - ./install/fossilize-runner.sh
1089 name: "mesa_${CI_JOB_NAME}"
1096 # Don't use threads inside llvmpipe, we've already got all cores
1097 # busy at the deqp-runner level.
1099 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
1100 LIBGL_ALWAYS_SOFTWARE: "true"
1101 DEQP_EXPECTED_RENDERER: llvmpipe
1111 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
1112 DEQP_SKIPS: deqp-softpipe-skips.txt
1113 DEQP_FLAKES: deqp-softpipe-flakes.txt
1114 GALLIUM_DRIVER: "softpipe"
1115 DEQP_EXPECTED_RENDERER: softpipe
1120 extends: softpipe-gles2
1126 extends: softpipe-gles2
1128 # Note that KHR-GL3* test sets include all tests from the previous
1129 # version, so we only need to run one test list (unlike dEQP-GLES,
1130 # where the test sets are separate).
1140 DEQP_NO_SAVE_RESULTS: 1
1141 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1142 # Don't use threads inside llvmpipe, we've already got all cores
1143 # busy at the deqp-runner level.
1145 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1146 DEQP_OPTIONS: "--deqp-log-images=disable"
1147 LIBGL_ALWAYS_SOFTWARE: "true"
1148 GALLIUM_DRIVER: "virpipe"
1149 DEQP_EXPECTED_RENDERER: virgl
1157 DEQP_RUNNER_OPTIONS: "--timeout 180"
1158 extends: virgl-gles2-on-gl
1164 MESA_GLES_VERSION_OVERRIDE: "3.1"
1165 MESA_GLSL_VERSION_OVERRIDE: "310"
1166 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1167 extends: virgl-gles3-on-gl
1172 extends: virgl-gles2-on-gl
1177 extends: virgl-gles2-on-gl
1182 extends: virgl-gles2-on-gl
1184 # Rules for tests that should not be present in MRs or the main
1185 # project's pipeline (don't block marge or report red on
1186 # mesa/mesamaster) but should be present on pipelines in personal
1187 # branches (so you can opt in to running the flaky test when you want
1191 - *ignore_scheduled_pipelines
1192 - 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 VK_DRIVER: freedreno
1237 - google-freedreno-cheza
1239 - ./install/bare-metal/cros-servo.sh
1242 extends: arm64_a630_gles2
1247 extends: arm64_a630_gles2
1255 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1256 DEVICE_NAME: "freedreno-a630"
1257 DRIVER_NAME: "freedreno"
1258 TRACIE_NO_UNIT_TESTS: 1
1259 TRACIE_UPLOAD_TO_MINIO: 1
1260 # This lets us run several more traces which don't use any features we're
1262 MESA_GLSL_VERSION_OVERRIDE: "460"
1263 MESA_GL_VERSION_OVERRIDE: "4.6"
1266 junit: results/junit.xml
1269 extends: arm64_a630_gles2
1273 arm64_a630_gles_others:
1274 extends: arm64_a630_gles2
1276 BARE_METAL_TEST_SCRIPT: "/install/bare-metal/arm64_a630_gles_others.sh"
1279 extends: arm64_a630_gles2
1284 # Force binning in the main run, which makes sure we render at
1285 # least 2 bins. This is the path that impacts the most different
1286 # features. However, we end up with flaky results in
1287 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1290 # Do a separate sysmem pass over the testcases that really affect sysmem
1291 # rendering. This is currently very flaky, leave it as an option for devs
1292 # to click play on in their branches.
1293 arm64_a630_vk_sysmem:
1299 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1300 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1307 # Cancel job if a newer commit is pushed to the same branch
1312 name: "mesa_${CI_JOB_NAME}"
1323 BM_KERNEL: /lava-files/Image.gz
1324 BM_DTB: /lava-files/apq8016-sbc.dtb
1325 BM_ROOTFS: /lava-files/rootfs-arm64
1326 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1327 FLAKES_CHANNEL: "#freedreno-ci"
1328 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1329 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1330 DEQP_SKIPS: deqp-default-skips.txt
1331 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1334 DEQP_EXPECTED_RENDERER: FD307
1336 - ./install/bare-metal/fastboot.sh
1341 - google-freedreno-db410c
1343 # Fractional run, single threaded, due to flaky results
1352 # Fractional runs with debug options. Note that since we're not
1353 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1354 arm64_a306_gles3_options:
1355 extends: arm64_a306_gles2
1359 # Check that the non-constbuf UBO case works.
1360 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1366 BM_KERNEL: /lava-files/db820c-kernel
1367 BM_DTB: /lava-files/db820c.dtb
1368 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1369 # current upstream kernel.
1370 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1371 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1372 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1373 DEQP_EXPECTED_RENDERER: FD530
1375 - google-freedreno-db820c
1397 vc4-rpi3-gles2:armhf:
1404 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1405 BM_BOOTFS: /boot/armhf
1406 BM_KERNEL_MODULES: vc4
1407 BM_ROOTFS: /lava-files/rootfs-armhf
1408 BM_ROOTFS_EXTRA: /modules/armhf
1409 DEQP_EXPECTED_FAILS: deqp-vc4-rpi3-fails.txt
1410 DEQP_EXPECTED_RENDERER: VC4
1411 DEQP_FLAKES: deqp-vc4-rpi3-flakes.txt
1412 DEQP_SKIPS: deqp-vc4-rpi3-skips.txt
1415 - ./install/bare-metal/poe-powered.sh
1423 stage: software-renderer
1428 DEQP_EXPECTED_FAILS: deqp-lvp-fails.txt
1429 DEQP_FLAKES: deqp-lvp-flakes.txt
1430 DEQP_SKIPS: deqp-lvp-skips.txt
1436 extends: .radv-rules
1440 ACO_DEBUG: validateir,validatera
1442 # Can only be triggered manually on personal branches because RADV is the only
1443 # driver that does Vulkan testing at the moment.
1444 radv_polaris10_vkcts:
1450 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1460 - export RADV_FORCE_FAMILY="pitcairn"
1461 - ./install/fossilize-runner.sh
1463 - export RADV_FORCE_FAMILY="bonaire"
1464 - ./install/fossilize-runner.sh
1466 - export RADV_FORCE_FAMILY="polaris10"
1467 - ./install/fossilize-runner.sh
1469 - export RADV_FORCE_FAMILY="gfx900"
1470 - ./install/fossilize-runner.sh
1472 - export RADV_FORCE_FAMILY="gfx1010"
1473 - ./install/fossilize-runner.sh
1474 # Sienna Cichlid (GFX10)
1475 - export RADV_FORCE_FAMILY="gfx1030"
1476 - ./install/fossilize-runner.sh
1485 TRACIE_UPLOAD_TO_MINIO: 1
1488 junit: results/junit.xml
1495 - ./install/tracie-runner-gl.sh
1502 - ./install/tracie-runner-vk.sh
1509 LIBGL_ALWAYS_SOFTWARE: "true"
1510 GALLIUM_DRIVER: "llvmpipe"
1511 DEVICE_NAME: "gl-vmware-llvmpipe"
1512 DRIVER_NAME: "llvmpipe"
1514 radv-polaris10-traces:
1520 DEVICE_NAME: "vk-amd-polaris10"
1531 DEVICE_NAME: "vk-amd-raven"
1541 LIBGL_ALWAYS_SOFTWARE: "true"
1542 GALLIUM_DRIVER: "virpipe"
1543 DEVICE_NAME: "gl-virgl"
1544 DRIVER_NAME: "virgl"
1545 MESA_GLES_VERSION_OVERRIDE: "3.1"
1546 MESA_GLSL_VERSION_OVERRIDE: "310"