mirror of
https://gitee.com/openharmony/third_party_mesa3d
synced 2024-11-23 23:41:13 +00:00
64ffe0ad25
https://github.com/LunarG/gfxreconstruct/issues/328 and https://github.com/LunarG/gfxreconstruct/issues/402 are already fixed in the "master" branch. Updated the piglit version so it supports this version. Additionally, LunarG's VulkanTools are not built any more since GFXReconstruct is now able to generate screenshots on its own without using the VK_LAYER_LUNARG_screenshot layer. v2: - Explain the VulkanTools removal in the commit log (Martin). Signed-off-by: Andres Gomez <agomez@igalia.com> Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com> Reviewed-by: Juan A. Suarez <jasuarez@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9032>
399 lines
11 KiB
YAML
399 lines
11 KiB
YAML
variables:
|
|
MESA_LAVA_TAG: "2020-02-17-gfxreconstruct-master"
|
|
|
|
.kernel+rootfs:
|
|
stage: container-2
|
|
extends:
|
|
- .ci-run-policy
|
|
variables:
|
|
DISTRIBUTION_TAG: &distribution-tag-arm "${MESA_LAVA_TAG}--${MESA_IMAGE_TAG}--${MESA_TEMPLATES_COMMIT}"
|
|
GIT_STRATEGY: fetch
|
|
KERNEL_URL: "https://gitlab.freedesktop.org/tomeu/linux/-/archive/v5.10-rc2-for-mesa-ci/linux-v5.10-rc2-for-mesa-ci.tar.gz"
|
|
UPLOAD_FOR_LAVA: 1
|
|
INSTALL_KERNEL_MODULES: 1
|
|
INCLUDE_PIGLIT: 1
|
|
PIGLIT_BUILD_TARGETS: "piglit_replayer"
|
|
script:
|
|
- .gitlab-ci/container/lava_build.sh
|
|
|
|
kernel+rootfs_amd64:
|
|
extends:
|
|
- .use-x86_build-base
|
|
- .kernel+rootfs
|
|
image: "$FDO_BASE_IMAGE"
|
|
variables:
|
|
DEBIAN_ARCH: "amd64"
|
|
DISTRIBUTION_TAG: &distribution-tag-amd64 "${MESA_LAVA_TAG}--${MESA_BASE_TAG}--${MESA_TEMPLATES_COMMIT}"
|
|
|
|
kernel+rootfs_arm64:
|
|
extends:
|
|
- .use-arm_build
|
|
- .kernel+rootfs
|
|
tags:
|
|
- aarch64
|
|
variables:
|
|
DEBIAN_ARCH: "arm64"
|
|
|
|
kernel+rootfs_armhf:
|
|
extends:
|
|
- kernel+rootfs_arm64
|
|
variables:
|
|
DEBIAN_ARCH: "armhf"
|
|
|
|
.lava-test:
|
|
extends:
|
|
- .ci-run-policy
|
|
# Cancel job if a newer commit is pushed to the same branch
|
|
interruptible: true
|
|
variables:
|
|
DISTRIBUTION_TAG: *distribution-tag-arm
|
|
GIT_STRATEGY: none # testing doesn't build anything from source
|
|
ENV_VARS: "DEQP_PARALLEL=6"
|
|
FIXED_ENV_VARS: "CI_PIPELINE_ID=${CI_PIPELINE_ID} CI_JOB_ID=${CI_JOB_ID} CI_PAGES_DOMAIN=${CI_PAGES_DOMAIN} CI_PROJECT_NAME=${CI_PROJECT_NAME} CI_PROJECT_PATH=${CI_PROJECT_PATH} CI_PROJECT_ROOT_NAMESPACE=${CI_PROJECT_ROOT_NAMESPACE} CI_JOB_JWT=${CI_JOB_JWT} CI_SERVER_URL=${CI_SERVER_URL} DRIVER_NAME=${DRIVER_NAME} FDO_UPSTREAM_REPO=${FDO_UPSTREAM_REPO} PIGLIT_NO_WINDOW=1 PIGLIT_REPLAY_UPLOAD_TO_MINIO=1 MINIO_HOST=${MINIO_HOST}"
|
|
DEQP_VERSION: gles2
|
|
ARTIFACTS_PREFIX: "https://${MINIO_HOST}/mesa-lava/"
|
|
MESA_URL: "https://${MINIO_HOST}/artifacts/${CI_PROJECT_PATH}/${CI_PIPELINE_ID}/mesa-${ARCH}.tar.gz"
|
|
script:
|
|
# Try to use the kernel and rootfs built in mainline first, to save cycles
|
|
- >
|
|
if wget -q --method=HEAD "${ARTIFACTS_PREFIX}/${FDO_UPSTREAM_REPO}/${DISTRIBUTION_TAG}/${ARCH}/done"; then
|
|
ARTIFACTS_URL="${ARTIFACTS_PREFIX}/mesa/mesa/${DISTRIBUTION_TAG}/${ARCH}"
|
|
else
|
|
ARTIFACTS_URL="${ARTIFACTS_PREFIX}/${CI_PROJECT_PATH}/${DISTRIBUTION_TAG}/${ARCH}"
|
|
fi
|
|
- >
|
|
artifacts/generate_lava.py \
|
|
--template artifacts/lava-${TEST_SUITE}.yml.jinja2 \
|
|
--pipeline-info "$CI_PIPELINE_URL on $CI_COMMIT_REF_NAME ${CI_NODE_INDEX}/${CI_NODE_TOTAL}" \
|
|
--base-artifacts-url ${ARTIFACTS_URL} \
|
|
--mesa-url ${MESA_URL} \
|
|
--device-type ${DEVICE_TYPE} \
|
|
--dtb ${DTB} \
|
|
--env-vars "${ENV_VARS} ${FIXED_ENV_VARS}" \
|
|
--deqp-version ${DEQP_VERSION} \
|
|
--kernel-image-name ${KERNEL_IMAGE_NAME} \
|
|
--kernel-image-type "${KERNEL_IMAGE_TYPE}" \
|
|
--gpu-version ${GPU_VERSION} \
|
|
--boot-method ${BOOT_METHOD} \
|
|
--lava-tags "${LAVA_TAGS}" \
|
|
--ci-node-index "${CI_NODE_INDEX}" \
|
|
--ci-node-total "${CI_NODE_TOTAL}"
|
|
- lava_job_id=`lavacli jobs submit lava-${TEST_SUITE}.yml` || lavacli jobs submit lava-${TEST_SUITE}.yml
|
|
- echo $lava_job_id
|
|
- rm -rf artifacts/*
|
|
- cp lava-${TEST_SUITE}.yml artifacts/.
|
|
- lavacli jobs logs $lava_job_id | tee artifacts/lava-${TEST_SUITE}-$lava_job_id.log
|
|
- lavacli jobs show $lava_job_id
|
|
- result=`lavacli results $lava_job_id 0_${TEST_SUITE} ${TEST_SUITE} | head -1`
|
|
- echo $result
|
|
- '[[ "$result" == "pass" ]]'
|
|
artifacts:
|
|
name: "mesa_${CI_JOB_NAME}"
|
|
when: always
|
|
paths:
|
|
- artifacts/
|
|
|
|
.lava-test:armhf:
|
|
variables:
|
|
ARCH: armhf
|
|
KERNEL_IMAGE_NAME: zImage
|
|
KERNEL_IMAGE_TYPE: "type:\ zimage"
|
|
BOOT_METHOD: u-boot
|
|
TEST_SUITE: "deqp"
|
|
extends:
|
|
- .lava-test
|
|
- .use-arm_build
|
|
needs:
|
|
- kernel+rootfs_armhf
|
|
- meson-armhf
|
|
|
|
.lava-test:arm64:
|
|
variables:
|
|
ARCH: arm64
|
|
KERNEL_IMAGE_NAME: Image
|
|
KERNEL_IMAGE_TYPE: "type:\ image"
|
|
BOOT_METHOD: u-boot
|
|
TEST_SUITE: "deqp"
|
|
extends:
|
|
- .lava-test
|
|
- .use-arm_build
|
|
dependencies:
|
|
- meson-arm64
|
|
needs:
|
|
- kernel+rootfs_arm64
|
|
- meson-arm64
|
|
|
|
.lava-test:amd64:
|
|
variables:
|
|
ARCH: amd64
|
|
DISTRIBUTION_TAG: *distribution-tag-amd64
|
|
KERNEL_IMAGE_NAME: bzImage
|
|
KERNEL_IMAGE_TYPE: "type:\ zimage"
|
|
BOOT_METHOD: u-boot
|
|
TEST_SUITE: "deqp"
|
|
extends:
|
|
- .use-x86_build-base # for same $MESA_BASE_TAG as in kernel+rootfs_amd64
|
|
- .use-arm_build # ARM because it must match the architecture of the runner
|
|
- .lava-test
|
|
needs:
|
|
- kernel+rootfs_amd64
|
|
- arm_build # ARM because it must match the architecture of the runner
|
|
- meson-testing
|
|
|
|
.lava-traces-base:
|
|
after_script:
|
|
- mkdir -p artifacts
|
|
- wget -O "artifacts/junit.xml" "https://minio-packet.freedesktop.org/artifacts/${CI_PROJECT_PATH}/${CI_PIPELINE_ID}/${CI_JOB_ID}/traces/junit.xml"
|
|
artifacts:
|
|
reports:
|
|
junit: artifacts/junit.xml
|
|
|
|
.lava-piglit:
|
|
variables:
|
|
TEST_SUITE: "piglit"
|
|
|
|
.lava-piglit-traces:amd64:
|
|
extends:
|
|
- .lava-test:amd64
|
|
- .lava-piglit
|
|
- .lava-traces-base
|
|
|
|
.lava-piglit-traces:armhf:
|
|
extends:
|
|
- .lava-test:armhf
|
|
- .lava-piglit
|
|
- .lava-traces-base
|
|
|
|
.lava-piglit-traces:arm64:
|
|
extends:
|
|
- .lava-test:arm64
|
|
- .lava-piglit
|
|
- .lava-traces-base
|
|
|
|
panfrost-t720-gles2:arm64:
|
|
extends:
|
|
- .lava-test:arm64
|
|
- .panfrost-rules
|
|
variables:
|
|
DEVICE_TYPE: sun50i-h6-pine-h64
|
|
DTB: ${DEVICE_TYPE}
|
|
GPU_VERSION: panfrost-t720
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T720"
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
.panfrost-t760-gles2:armhf:
|
|
extends:
|
|
- .lava-test:armhf
|
|
- .panfrost-rules
|
|
variables:
|
|
DEVICE_TYPE: rk3288-veyron-jaq
|
|
DTB: ${DEVICE_TYPE}
|
|
GPU_VERSION: panfrost-t760
|
|
BOOT_METHOD: depthcharge
|
|
KERNEL_IMAGE_TYPE: ""
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T760"
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
.panfrost-t760-traces:armhf:
|
|
extends:
|
|
- .lava-piglit-traces:armhf
|
|
- .panfrost-rules
|
|
variables:
|
|
DEVICE_TYPE: rk3288-veyron-jaq
|
|
DTB: ${DEVICE_TYPE}
|
|
GPU_VERSION: panfrost-t760
|
|
DRIVER_NAME: panfrost
|
|
BOOT_METHOD: depthcharge
|
|
KERNEL_IMAGE_TYPE: ""
|
|
ENV_VARS: "PAN_MESA_DEBUG=deqp MESA_GLES_VERSION_OVERRIDE=3.1 MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 EGL_PLATFORM=surfaceless PIGLIT_PROFILES=replay PIGLIT_HTML_SUMMARY=0 PIGLIT_JUNIT_RESULTS=1"
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
.lava-rk3399-gru-kevin:
|
|
extends:
|
|
- .panfrost-rules
|
|
variables:
|
|
DEVICE_TYPE: rk3399-gru-kevin
|
|
DTB: ${DEVICE_TYPE}
|
|
GPU_VERSION: panfrost-t860
|
|
DRIVER_NAME: panfrost
|
|
BOOT_METHOD: depthcharge
|
|
KERNEL_IMAGE_TYPE: ""
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
panfrost-t860-gles2:arm64:
|
|
extends:
|
|
- .lava-test:arm64
|
|
- .lava-rk3399-gru-kevin
|
|
variables:
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T860"
|
|
|
|
panfrost-t860-gles3:arm64:
|
|
parallel: 2
|
|
extends:
|
|
- .lava-test:arm64
|
|
- .lava-rk3399-gru-kevin
|
|
variables:
|
|
DEQP_VERSION: gles3
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T860"
|
|
|
|
panfrost-t860-traces:arm64:
|
|
extends:
|
|
- .lava-piglit-traces:arm64
|
|
- .lava-rk3399-gru-kevin
|
|
variables:
|
|
ENV_VARS: "PAN_MESA_DEBUG=deqp MESA_GLES_VERSION_OVERRIDE=3.1 MESA_GL_VERSION_OVERRIDE=3.3 MESA_GLSL_VERSION_OVERRIDE=330 EGL_PLATFORM=surfaceless PIGLIT_PROFILES=replay PIGLIT_HTML_SUMMARY=0 PIGLIT_JUNIT_RESULTS=1"
|
|
|
|
.lava-meson-g12b-a311d-khadas-vim3:
|
|
extends:
|
|
- .panfrost-rules
|
|
variables:
|
|
DEVICE_TYPE: meson-g12b-a311d-khadas-vim3
|
|
DTB: ${DEVICE_TYPE}
|
|
GPU_VERSION: panfrost-g52
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
panfrost-g52-gles2:arm64:
|
|
extends:
|
|
- .lava-test:arm64
|
|
- .lava-meson-g12b-a311d-khadas-vim3
|
|
variables:
|
|
ENV_VARS: "DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=G52"
|
|
|
|
panfrost-g52-gles3:arm64:
|
|
extends:
|
|
- .lava-test:arm64
|
|
- .lava-meson-g12b-a311d-khadas-vim3
|
|
variables:
|
|
# We don't have enough VIM3s to run the full GLES3 testsuite yet
|
|
CI_NODE_INDEX: 1
|
|
CI_NODE_TOTAL: 2
|
|
DEQP_VERSION: gles3
|
|
ENV_VARS: "PAN_MESA_DEBUG=deqp DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=G52"
|
|
|
|
.panfrost-t820-gles2:arm64:
|
|
extends:
|
|
- .lava-test:arm64
|
|
- .panfrost-rules
|
|
variables:
|
|
DEVICE_TYPE: meson-gxm-khadas-vim2
|
|
DTB: ${DEVICE_TYPE}
|
|
GPU_VERSION: panfrost-t820
|
|
LAVA_TAGS: panfrost
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T820"
|
|
tags:
|
|
- mesa-ci-aarch64-lava-baylibre
|
|
|
|
.lima-mali400-test:armhf:
|
|
parallel: 2
|
|
extends:
|
|
- .lava-test:armhf
|
|
- .lima-rules
|
|
variables:
|
|
DEVICE_TYPE: sun8i-h3-libretech-all-h3-cc
|
|
DTB: ${DEVICE_TYPE}
|
|
GPU_VERSION: lima
|
|
ENV_VARS: "DEQP_PARALLEL=3 DEQP_EXPECTED_RENDERER=Mali400"
|
|
tags:
|
|
- mesa-ci-aarch64-lava-baylibre
|
|
|
|
.lima-mali450-test:arm64:
|
|
extends:
|
|
- .lava-test:arm64
|
|
- .lima-rules
|
|
variables:
|
|
DEVICE_TYPE: meson-gxl-s905x-libretech-cc
|
|
DTB: ${DEVICE_TYPE}
|
|
GPU_VERSION: lima
|
|
ENV_VARS: "DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=Mali450"
|
|
tags:
|
|
- mesa-ci-aarch64-lava-baylibre
|
|
|
|
.radeonsi-stoney-gles2:amd64:
|
|
extends:
|
|
- .lava-test:amd64
|
|
- .radeonsi-rules
|
|
variables:
|
|
DEVICE_TYPE: hp-11A-G6-EE-grunt
|
|
DTB: ""
|
|
GPU_VERSION: radeonsi-stoney
|
|
BOOT_METHOD: depthcharge
|
|
KERNEL_IMAGE_TYPE: ""
|
|
ENV_VARS: "DEQP_PARALLEL=4 DEQP_EXPECTED_RENDERER=STONEY"
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
.radeonsi-stoney-gles3:amd64:
|
|
extends:
|
|
- .radeonsi-stoney-gles2:amd64
|
|
variables:
|
|
DEQP_VERSION: gles3
|
|
CI_NODE_INDEX: 1
|
|
CI_NODE_TOTAL: 4
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
radeonsi-stoney-gles31:amd64:
|
|
extends:
|
|
- .radeonsi-stoney-gles2:amd64
|
|
variables:
|
|
DEQP_VERSION: gles31
|
|
CI_NODE_INDEX: 1
|
|
CI_NODE_TOTAL: 5
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
radeonsi-stoney-traces:amd64:
|
|
extends:
|
|
- .lava-piglit-traces:amd64
|
|
- .radeonsi-rules
|
|
variables:
|
|
DEVICE_TYPE: hp-11A-G6-EE-grunt
|
|
DTB: ""
|
|
GPU_VERSION: radeonsi-stoney
|
|
DRIVER_NAME: radeonsi
|
|
BOOT_METHOD: depthcharge
|
|
KERNEL_IMAGE_TYPE: ""
|
|
ENV_VARS: "EGL_PLATFORM=surfaceless PIGLIT_PROFILES=replay PIGLIT_HTML_SUMMARY=0 PIGLIT_JUNIT_RESULTS=1"
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
.iris-traces:amd64:
|
|
extends:
|
|
- .lava-piglit-traces:amd64
|
|
- .iris-rules
|
|
variables:
|
|
ENV_VARS: "EGL_PLATFORM=surfaceless PIGLIT_PROFILES=replay PIGLIT_HTML_SUMMARY=0 PIGLIT_JUNIT_RESULTS=1"
|
|
|
|
iris-apl-traces:amd64:
|
|
extends:
|
|
- .iris-traces:amd64
|
|
- .test-manual
|
|
variables:
|
|
DEVICE_TYPE: asus-C523NA-A20057-coral
|
|
DTB: ""
|
|
GPU_VERSION: intel-apl
|
|
DRIVER_NAME: iris
|
|
BOOT_METHOD: depthcharge
|
|
KERNEL_IMAGE_TYPE: ""
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|
|
|
|
iris-glk-traces:amd64:
|
|
extends:
|
|
- .iris-traces:amd64
|
|
- .test-manual
|
|
variables:
|
|
DEVICE_TYPE: hp-x360-12b-n4000-octopus
|
|
DTB: ""
|
|
GPU_VERSION: intel-glk
|
|
DRIVER_NAME: iris
|
|
BOOT_METHOD: depthcharge
|
|
KERNEL_IMAGE_TYPE: ""
|
|
tags:
|
|
- mesa-ci-aarch64-lava-collabora
|