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
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 # MESA_IMAGE_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_BASE_IMAGE: "${MESA_BASE_IMAGE}-${MESA_TEMPLATES_COMMIT}"
230 FDO_DISTRIBUTION_TAG: "${MESA_IMAGE_TAG}-${MESA_TEMPLATES_COMMIT}"
231 FDO_DISTRIBUTION_VERSION: buster-slim
232 FDO_REPO_SUFFIX: "debian/$CI_JOB_NAME"
233 FDO_DISTRIBUTION_EXEC: 'env FDO_CI_CONCURRENT=${FDO_CI_CONCURRENT} bash .gitlab-ci/container/${CI_JOB_NAME}.sh'
234 # no need to pull the whole repo to build the container image
237 # Debian 10 based x86 build image base
240 - .fdo.container-build@debian
243 MESA_IMAGE_TAG: &x86_build-base "2020-12-02"
251 BASE_TAG: *x86_build-base
252 MESA_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_build-base:${BASE_TAG}"
256 # Debian 10 based x86 main build image
259 - .use-x86_build-base
261 MESA_IMAGE_TAG: &x86_build "2020-12-02"
266 image: "$CI_REGISTRY_IMAGE/debian/x86_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
270 # Debian 10 based i386 cross-build image
273 - .use-x86_build-base
275 MESA_IMAGE_TAG: &i386_build "2020-12-02"
280 image: "$CI_REGISTRY_IMAGE/debian/i386_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
284 # Debian 10 based ppc64el cross-build image
287 - .use-x86_build-base
289 MESA_IMAGE_TAG: &ppc64el_build "2020-12-02"
294 image: "$CI_REGISTRY_IMAGE/debian/ppc64el_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
298 # Debian 10 based s390x cross-build image
301 - .use-x86_build-base
303 MESA_IMAGE_TAG: &s390x_build "2020-12-02"
308 image: "$CI_REGISTRY_IMAGE/debian/s390x_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
312 # Android NDK cross-build image
315 - .use-x86_build-base
317 MESA_IMAGE_TAG: &android_build "2020-12-02"
322 image: "$CI_REGISTRY_IMAGE/debian/android_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
326 # Debian 10 based x86 test image base
328 extends: x86_build-base
330 MESA_IMAGE_TAG: &x86_test-base "2020-12-02"
338 BASE_TAG: *x86_test-base
339 MESA_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/x86_test-base:${BASE_TAG}"
343 # Debian 10 based x86 test image for GL
345 extends: .use-x86_test-base
347 MESA_IMAGE_TAG: &x86_test-gl "2020-11-06-deqp-version"
349 # Debian 10 based x86 test image for VK
351 extends: .use-x86_test-base
353 MESA_IMAGE_TAG: &x86_test-vk "2020-11-06-deqp-version"
355 # Debian 9 based x86 build image (old LLVM)
357 extends: x86_build-base
359 MESA_IMAGE_TAG: &x86_build_old "2020-12-02"
360 FDO_DISTRIBUTION_VERSION: stretch-slim
365 image: "$CI_REGISTRY_IMAGE/debian/x86_build_old:${TAG}-${MESA_TEMPLATES_COMMIT}"
369 # Debian 10 based ARM build image
372 - .fdo.container-build@debian@arm64v8
375 MESA_IMAGE_TAG: &arm_build "2020-12-02"
380 image: "$CI_REGISTRY_IMAGE/debian/arm_build:${TAG}-${MESA_TEMPLATES_COMMIT}"
384 # Debian 10 based x86 baremetal image base
387 - .fdo.container-build@debian
390 MESA_IMAGE_TAG: &arm_test-base "2020-12-03-expect"
398 BASE_TAG: *arm_test-base
399 MESA_BASE_IMAGE: "$CI_REGISTRY_IMAGE/debian/arm_test-base:${BASE_TAG}"
403 # x86 image with ARM64 rootfs for baremetal testing.
408 MESA_IMAGE_TAG: &arm64_test "2020-12-03-expect"
413 image: "$CI_REGISTRY_IMAGE/debian/arm64_test:${TAG}-${MESA_TEMPLATES_COMMIT}"
417 # x86 image with armhf rootfs for baremetal testing
422 FDO_DISTRIBUTION_TAG: &armhf_test "2020-12-03-expect"
427 image: "$CI_REGISTRY_IMAGE/debian/armhf_test:$TAG"
431 # Native Windows docker builds
433 # Unlike the above Linux-based builds - including MinGW/SCons builds which
434 # cross-compile for Windows - which use the freedesktop ci-templates, we
435 # cannot use the same scheme here. As Windows lacks support for
436 # Docker-in-Docker, and Podman does not run natively on Windows, we have
437 # to open-code much of the same ourselves.
439 # This is achieved by first running in a native Windows shell instance
440 # (host PowerShell) in the container stage to build and push the image,
441 # then in the build stage by executing inside Docker.
443 .windows-docker-vs2019:
445 WINDOWS_TAG: "2020-12-02"
446 WINDOWS_IMAGE: "$CI_REGISTRY_IMAGE/windows/x64_build:${WINDOWS_TAG}-${MESA_TEMPLATES_COMMIT}"
447 WINDOWS_UPSTREAM_IMAGE: "$CI_REGISTRY/$FDO_UPSTREAM_REPO/windows/x64_build:${WINDOWS_TAG}-${MESA_TEMPLATES_COMMIT}"
449 windows_build_vs2019:
452 - .windows-docker-vs2019
455 GIT_STRATEGY: fetch # we do actually need the full repository though
456 timeout: 2h # LLVM + piglit takes ages
463 - .\.gitlab-ci\windows\mesa_container.ps1 $CI_REGISTRY $CI_REGISTRY_USER $CI_REGISTRY_PASSWORD $WINDOWS_IMAGE $WINDOWS_UPSTREAM_IMAGE
465 .use-windows_build_vs2019:
466 extends: .windows-docker-vs2019
467 image: "$WINDOWS_IMAGE"
469 - windows_build_vs2019
479 - if: *is-scheduled-pipeline
481 # ensure we are running on packet
485 # Compactify the .git directory
486 - git gc --aggressive
487 # compress the current folder
488 - tar -cvzf ../$CI_PROJECT_NAME.tar.gz .
490 # login with the JWT token
491 - ci-fairy minio login $CI_JOB_JWT
492 - 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
495 # Sanity checks of MR settings and commit logs
503 - if: *is-forked-branch
505 # Other cases default to never
507 # ci-fairy check-commits --junit-xml=check-commits.xml
508 # ci-fairy check-merge-request only works in pre-merge pipelines for MRs
509 - if test "x$CI_MERGE_REQUEST_SOURCE_BRANCH_NAME" != "x$CI_COMMIT_REF_NAME"; then exit 0; fi
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"
593 BUILDTYPE: "debugoptimized"
599 - .gitlab-ci/meson-build.sh
600 - .gitlab-ci/prepare-artifacts.sh
602 meson-clover-testing:
614 -D gallium-opencl=icd
616 GALLIUM_DRIVERS: "swrast"
617 BUILDTYPE: "debugoptimized"
621 - .gitlab-ci/meson-build.sh
622 - .gitlab-ci/prepare-artifacts.sh
625 extends: .meson-build
632 -D platforms=x11,wayland
635 -D gallium-extra-hud=true
636 -D gallium-vdpau=enabled
637 -D gallium-xvmc=enabled
638 -D gallium-omx=bellagio
639 -D gallium-va=enabled
640 -D gallium-xa=enabled
642 -D gallium-opencl=disabled
643 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
644 VULKAN_DRIVERS: swrast
650 - .gitlab-ci/meson-build.sh
651 - .gitlab-ci/run-shader-db.sh
652 - src/freedreno/.gitlab-ci/run-fdtools.sh
654 # Test a release build with -Werror so new warnings don't sneak in.
656 extends: .meson-build
663 -D platforms=x11,wayland
666 -D gallium-extra-hud=true
667 -D gallium-vdpau=enabled
668 -D gallium-xvmc=disabled
669 -D gallium-omx=disabled
670 -D gallium-va=enabled
671 -D gallium-xa=enabled
672 -D gallium-nine=false
673 -D gallium-opencl=disabled
675 GALLIUM_DRIVERS: "nouveau,kmsro,freedreno,r300,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink"
682 - .gitlab-ci/meson-build.sh
685 extends: .meson-build
692 -D platforms=x11,wayland
713 -D platform-sdk-version=26
716 -D gallium-vdpau=disabled
717 -D gallium-xvmc=disabled
718 -D gallium-omx=disabled
719 -D gallium-va=disabled
720 -D gallium-xa=disabled
721 -D gallium-nine=false
722 -D gallium-opencl=disabled
725 # arm64 build: Can't build v3d/vc4 because they require expat for v3d_decode.
726 - 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
728 # Can't do Intel because gen_decoder.c currently requires libexpat, which
729 # is not a dependency that AOSP wants to accept. Can't do Radeon because
730 # it requires LLVM, which we don't have an Android build of.
731 # - 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
747 -D gallium-vdpau=disabled
748 -D gallium-xvmc=disabled
749 -D gallium-omx=disabled
750 -D gallium-va=disabled
751 -D gallium-xa=disabled
752 -D gallium-nine=false
762 VULKAN_DRIVERS: freedreno,broadcom
763 GALLIUM_DRIVERS: "etnaviv,freedreno,kmsro,lima,nouveau,panfrost,swrast,tegra,v3d,vc4"
764 BUILDTYPE: "debugoptimized"
780 - .gitlab-ci/meson-build.sh
781 - .gitlab-ci/prepare-artifacts.sh
788 VULKAN_DRIVERS: "freedreno,broadcom"
794 - .gitlab-ci/meson-build.sh
795 - .gitlab-ci/prepare-artifacts.sh
797 meson-arm64-build-test:
802 VULKAN_DRIVERS: "amd"
807 - .gitlab-ci/meson-build.sh
810 extends: .meson-build
816 GALLIUM_DRIVERS: "iris,nouveau,kmsro,r300,r600,freedreno,swr,swrast,svga,v3d,vc4,virgl,etnaviv,panfrost,lima,zink,radeonsi,tegra"
817 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
818 CC: "ccache clang-10"
819 CXX: "ccache clang++-10"
821 meson-windows-vs2019:
824 - .use-windows_build_vs2019
827 - . .\.gitlab-ci\windows\mesa_build.ps1
835 - .use-windows_build_vs2019
836 stage: layered-backends
838 - meson-windows-vs2019
840 - meson-windows-vs2019
842 GIT_STRATEGY: none # testing doesn't build anything from source
843 GALLIUM_DRIVER: d3d12
844 PIGLIT_PROFILE: quick_gl
845 PIGLIT_OPTIONS: -x nv_copy_depth_to_color
847 - . _install/piglit_run.ps1
850 name: "mesa_${CI_JOB_NAME}"
855 extends: .scons-build
857 SCONS_TARGET: platform=windows machine=x86_64 debug=1
858 SCONS_CHECK_COMMAND: "true"
862 extends: .meson-build
869 GALLIUM_DRIVERS: "r600,radeonsi"
872 -D gallium-vdpau=disabled
873 -D gallium-xvmc=disabled
874 -D gallium-omx=disabled
875 -D gallium-va=disabled
876 -D gallium-xa=disabled
877 -D gallium-nine=false
878 -D gallium-opencl=icd
882 - LLVM_VERSION=8 .gitlab-ci/meson-build.sh
883 - LLVM_VERSION=9 .gitlab-ci/meson-build.sh
884 - .gitlab-ci/meson-build.sh
887 extends: .meson-build
894 -D platforms=x11,wayland
898 -D gallium-vdpau=disabled
899 -D gallium-xvmc=disabled
900 -D gallium-omx=disabled
901 -D gallium-va=disabled
902 -D gallium-xa=disabled
903 -D gallium-nine=false
904 -D gallium-opencl=disabled
905 -D b_sanitize=undefined
906 -D c_args=-fno-sanitize-recover=all
907 -D cpp_args=-fno-sanitize-recover=all
908 UBSAN_OPTIONS: "print_stacktrace=1"
909 VULKAN_DRIVERS: intel,amd,freedreno,broadcom
911 -D vulkan-overlay-layer=true
912 -D vulkan-device-select-layer=true
913 -D build-aco-tests=true
922 VULKAN_DRIVERS: intel,amd
923 GALLIUM_DRIVERS: "iris,r300,radeonsi,swrast,virgl"
925 -D vulkan-overlay-layer=true
926 -D vulkan-device-select-layer=true
939 GALLIUM_DRIVERS: "swrast"
948 GALLIUM_DRIVERS: "nouveau,radeonsi,swrast,virgl"
949 VULKAN_DRIVERS: "amd"
951 meson-mingw32-x86_64:
952 extends: .meson-build
957 GALLIUM_DRIVERS: "swrast"
961 --cross-file=.gitlab-ci/x86_64-w64-mingw32
966 # Cancel job if a newer commit is pushed to the same branch
969 GIT_STRATEGY: none # testing doesn't build anything from source
971 # Note: Build dir (and thus install) may be dirty due to GIT_STRATEGY
973 - tar -xf artifacts/install.tar
974 - LD_LIBRARY_PATH=install/lib find install/lib -name "*.so" -print -exec ldd {} \;
977 name: "mesa_${CI_JOB_NAME}"
986 image: "$CI_REGISTRY_IMAGE/debian/x86_test-gl:${TAG}-${MESA_TEMPLATES_COMMIT}"
1002 image: "$CI_REGISTRY_IMAGE/debian/x86_test-vk:${TAG}-${MESA_TEMPLATES_COMMIT}"
1012 - meson-clover-testing
1020 name: "mesa_${CI_JOB_NAME}"
1024 LIBGL_ALWAYS_SOFTWARE: 1
1027 - install/piglit/run.sh
1033 - .llvmpipe-cl-rules
1039 -x bswap -x phatk -x clz-optimizations
1041 - install/piglit/run_cl.sh
1043 llvmpipe-piglit-quick_gl:
1044 extends: .piglit-test
1048 --process-isolation false
1050 -x egl_ext_platform_device
1051 -x ext_timer_query@time-elapsed
1052 -x glx-multithread-clearbuffer
1053 -x glx-multithread-shader-compile
1056 PIGLIT_PROFILES: quick_gl
1058 llvmpipe-piglit-glslparser:
1059 extends: .piglit-test
1062 PIGLIT_PROFILES: glslparser
1064 llvmpipe-piglit-quick_shader:
1065 extends: .piglit-test
1068 PIGLIT_PROFILES: quick_shader
1072 DEQP_SKIPS: deqp-default-skips.txt
1074 - ./install/deqp-runner.sh
1091 - ./install/fossilize-runner.sh
1094 name: "mesa_${CI_JOB_NAME}"
1101 # Don't use threads inside llvmpipe, we've already got all cores
1102 # busy at the deqp-runner level.
1104 DEQP_EXPECTED_FAILS: deqp-llvmpipe-fails.txt
1105 LIBGL_ALWAYS_SOFTWARE: "true"
1106 DEQP_EXPECTED_RENDERER: llvmpipe
1116 DEQP_EXPECTED_FAILS: deqp-softpipe-fails.txt
1117 DEQP_SKIPS: deqp-softpipe-skips.txt
1118 DEQP_FLAKES: deqp-softpipe-flakes.txt
1119 GALLIUM_DRIVER: "softpipe"
1120 DEQP_EXPECTED_RENDERER: softpipe
1125 extends: softpipe-gles2
1131 extends: softpipe-gles2
1133 # Note that KHR-GL3* test sets include all tests from the previous
1134 # version, so we only need to run one test list (unlike dEQP-GLES,
1135 # where the test sets are separate).
1145 DEQP_NO_SAVE_RESULTS: 1
1146 DEQP_SKIPS: deqp-virgl-gl-skips.txt
1147 # Don't use threads inside llvmpipe, we've already got all cores
1148 # busy at the deqp-runner level.
1150 DEQP_EXPECTED_FAILS: deqp-virgl-gl-fails.txt
1151 DEQP_OPTIONS: "--deqp-log-images=disable"
1152 LIBGL_ALWAYS_SOFTWARE: "true"
1153 GALLIUM_DRIVER: "virpipe"
1154 DEQP_EXPECTED_RENDERER: virgl
1162 DEQP_RUNNER_OPTIONS: "--timeout 180"
1163 extends: virgl-gles2-on-gl
1169 MESA_GLES_VERSION_OVERRIDE: "3.1"
1170 MESA_GLSL_VERSION_OVERRIDE: "310"
1171 MESA_EXTENSION_OVERRIDE: "-GL_OES_tessellation_shader"
1172 extends: virgl-gles3-on-gl
1177 extends: virgl-gles2-on-gl
1182 extends: virgl-gles2-on-gl
1187 extends: virgl-gles2-on-gl
1189 # Rules for tests that should not be present in MRs or the main
1190 # project's pipeline (don't block marge or report red on
1191 # mesa/mesamaster) but should be present on pipelines in personal
1192 # branches (so you can opt in to running the flaky test when you want
1196 - *ignore_scheduled_pipelines
1197 - if: *is-forked-branch
1203 virgl-gles2-on-gles:
1205 VIRGL_HOST_API: GLES
1206 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1211 virgl-gles3-on-gles:
1213 VIRGL_HOST_API: GLES
1214 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1219 virgl-gles31-on-gles:
1221 VIRGL_HOST_API: GLES
1222 DEQP_EXPECTED_FAILS: deqp-virgl-gles-fails.txt
1224 - virgl-gles31-on-gl
1231 BM_KERNEL: /lava-files/cheza-kernel
1232 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 root=/dev/nfs rw nfsrootdebug nfsroot=,tcp,nfsvers=4.2 init=/init"
1233 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-fails.txt
1234 DEQP_FLAKES: deqp-freedreno-a630-flakes.txt
1235 DEQP_SKIPS: deqp-freedreno-a630-skips.txt
1237 DEQP_EXPECTED_RENDERER: FD630
1238 DEQP_NO_SAVE_RESULTS: ""
1239 VK_DRIVER: freedreno
1241 - google-freedreno-cheza
1243 - ./install/bare-metal/cros-servo.sh
1246 extends: arm64_a630_gles2
1251 extends: arm64_a630_gles2
1259 BARE_METAL_TEST_SCRIPT: "/install/tracie-runner-gl.sh"
1260 DEVICE_NAME: "freedreno-a630"
1261 DRIVER_NAME: "freedreno"
1262 TRACIE_NO_UNIT_TESTS: 1
1263 TRACIE_UPLOAD_TO_MINIO: 1
1264 # This lets us run several more traces which don't use any features we're
1266 MESA_GLSL_VERSION_OVERRIDE: "460"
1267 MESA_GL_VERSION_OVERRIDE: "4.6"
1270 junit: results/junit.xml
1273 extends: arm64_a630_gles2
1277 arm64_a630_gles_others:
1278 extends: arm64_a630_gles2
1280 BARE_METAL_TEST_SCRIPT: "/install/bare-metal/arm64_a630_gles_others.sh"
1283 extends: arm64_a630_gles2
1288 # Force binning in the main run, which makes sure we render at
1289 # least 2 bins. This is the path that impacts the most different
1290 # features. However, we end up with flaky results in
1291 # dEQP-VK.binding_model.*.geometry and dEQP-VK.glsl.*_vertex.
1294 # Do a separate sysmem pass over the testcases that really affect sysmem
1295 # rendering. This is currently very flaky, leave it as an option for devs
1296 # to click play on in their branches.
1297 arm64_a630_vk_sysmem:
1303 DEQP_CASELIST_FILTER: "dEQP-VK.renderpass.*"
1304 DEQP_EXPECTED_FAILS: deqp-freedreno-a630-bypass-fails.txt
1311 # Cancel job if a newer commit is pushed to the same branch
1316 name: "mesa_${CI_JOB_NAME}"
1327 BM_KERNEL: /lava-files/Image.gz
1328 BM_DTB: /lava-files/apq8016-sbc.dtb
1329 BM_ROOTFS: /lava-files/rootfs-arm64
1330 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8"
1331 FLAKES_CHANNEL: "#freedreno-ci"
1332 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1333 DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
1334 DEQP_SKIPS: deqp-default-skips.txt
1335 DEQP_FLAKES: deqp-freedreno-a307-flakes.txt
1338 DEQP_EXPECTED_RENDERER: FD307
1339 # Since we can't get artifacts back yet, skip making them.
1340 DEQP_NO_SAVE_RESULTS: 1
1342 - ./install/bare-metal/fastboot.sh
1347 - google-freedreno-db410c
1349 # Fractional run, single threaded, due to flaky results
1358 # Fractional runs with debug options. Note that since we're not
1359 # hitting the iommu faults, we can run in parallel (derive from gles2, not gles3).
1360 arm64_a306_gles3_options:
1361 extends: arm64_a306_gles2
1365 # Check that the non-constbuf UBO case works.
1366 - DEQP_RUN_SUFFIX=-nouboopt IR3_SHADER_DEBUG=nouboopt DEQP_CASELIST_FILTER="functional.*ubo" ./install/bare-metal/fastboot.sh
1372 BM_KERNEL: /lava-files/db820c-kernel
1373 BM_DTB: /lava-files/db820c.dtb
1374 # Disable SMP because only CPU 0 is at a freq higher than 19mhz on
1375 # current upstream kernel.
1376 BM_CMDLINE: "ip=dhcp console=ttyMSM0,115200n8 nosmp"
1377 DEQP_EXPECTED_FAILS: deqp-freedreno-a530-fails.txt
1378 DEQP_FLAKES: deqp-freedreno-a530-flakes.txt
1379 DEQP_EXPECTED_RENDERER: FD530
1381 - google-freedreno-db820c
1403 vc4-rpi3-gles2:armhf:
1410 BARE_METAL_TEST_SCRIPT: "/install/deqp-runner.sh"
1411 BM_BOOTFS: /boot/armhf
1412 BM_KERNEL_MODULES: vc4
1413 BM_ROOTFS: /lava-files/rootfs-armhf
1414 BM_ROOTFS_EXTRA: /modules/armhf
1415 DEQP_EXPECTED_FAILS: deqp-vc4-rpi3-fails.txt
1416 DEQP_EXPECTED_RENDERER: VC4
1417 DEQP_FLAKES: deqp-vc4-rpi3-flakes.txt
1418 DEQP_SKIPS: deqp-vc4-rpi3-skips.txt
1421 - ./install/bare-metal/poe-powered.sh
1430 extends: .radv-rules
1434 ACO_DEBUG: validateir,validatera
1436 # Can only be triggered manually on personal branches because RADV is the only
1437 # driver that does Vulkan testing at the moment.
1438 radv_polaris10_vkcts:
1444 DEQP_SKIPS: deqp-radv-polaris10-skips.txt
1454 - export RADV_FORCE_FAMILY="pitcairn"
1455 - ./install/fossilize-runner.sh
1457 - export RADV_FORCE_FAMILY="bonaire"
1458 - ./install/fossilize-runner.sh
1460 - export RADV_FORCE_FAMILY="polaris10"
1461 - ./install/fossilize-runner.sh
1463 - export RADV_FORCE_FAMILY="gfx900"
1464 - ./install/fossilize-runner.sh
1466 - export RADV_FORCE_FAMILY="gfx1010"
1467 - ./install/fossilize-runner.sh
1468 # Sienna Cichlid (GFX10)
1469 - export RADV_FORCE_FAMILY="gfx1030"
1470 - ./install/fossilize-runner.sh
1479 TRACIE_UPLOAD_TO_MINIO: 1
1482 junit: results/junit.xml
1489 - ./install/tracie-runner-gl.sh
1496 - ./install/tracie-runner-vk.sh
1503 LIBGL_ALWAYS_SOFTWARE: "true"
1504 GALLIUM_DRIVER: "llvmpipe"
1505 DEVICE_NAME: "gl-vmware-llvmpipe"
1506 DRIVER_NAME: "llvmpipe"
1508 radv-polaris10-traces:
1514 DEVICE_NAME: "vk-amd-polaris10"
1525 DEVICE_NAME: "vk-amd-raven"
1535 LIBGL_ALWAYS_SOFTWARE: "true"
1536 GALLIUM_DRIVER: "virpipe"
1537 DEVICE_NAME: "gl-virgl"
1538 DRIVER_NAME: "virgl"
1539 MESA_GLES_VERSION_OVERRIDE: "3.1"
1540 MESA_GLSL_VERSION_OVERRIDE: "310"