2020-04-01 19:07:46 +08:00
|
|
|
variables:
|
|
|
|
DISTRIBUTION_TAG: "2020-07-06"
|
|
|
|
|
|
|
|
.kernel+rootfs:
|
|
|
|
stage: container-2
|
2020-07-08 15:57:44 +08:00
|
|
|
extends:
|
|
|
|
- .ci-run-policy
|
2020-04-01 19:07:46 +08:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: fetch
|
|
|
|
script:
|
|
|
|
- DEBIAN_ARCH=${DEBIAN_ARCH} .gitlab-ci/container/lava_arm.sh
|
|
|
|
|
|
|
|
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"
|
|
|
|
|
2019-09-18 22:03:36 +08:00
|
|
|
.lava-test:
|
2019-09-18 22:43:30 +08:00
|
|
|
extends:
|
2019-12-06 16:39:40 +08:00
|
|
|
- .ci-run-policy
|
2019-10-22 23:16:52 +08:00
|
|
|
variables:
|
|
|
|
GIT_STRATEGY: none # testing doesn't build anything from source
|
2019-12-18 23:11:33 +08:00
|
|
|
ENV_VARS: "DEQP_PARALLEL=6"
|
|
|
|
DEQP_VERSION: gles2
|
2020-07-09 22:14:14 +08:00
|
|
|
ARTIFACTS_PREFIX: "https://minio-packet.freedesktop.org/mesa-lava/"
|
2020-04-01 19:07:46 +08:00
|
|
|
MESA_URL: "https://minio-packet.freedesktop.org/artifacts/${CI_PROJECT_PATH}/${CI_PIPELINE_ID}/mesa-${ARCH}.tar.gz"
|
2019-04-30 00:33:22 +08:00
|
|
|
script:
|
2020-07-09 22:14:14 +08:00
|
|
|
# Try to use the kernel and rootfs built in mainline first, to save cycles
|
|
|
|
- >
|
|
|
|
if wget -q --method=HEAD "${ARTIFACTS_PREFIX}/mesa/mesa/${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
|
2019-12-17 18:50:14 +08:00
|
|
|
- >
|
|
|
|
artifacts/generate_lava.py \
|
|
|
|
--template artifacts/lava-deqp.yml.jinja2 \
|
2019-10-15 21:22:07 +08:00
|
|
|
--pipeline-info "$CI_PIPELINE_URL on $CI_COMMIT_REF_NAME ${CI_NODE_INDEX}/${CI_NODE_TOTAL}" \
|
2020-04-01 19:07:46 +08:00
|
|
|
--base-artifacts-url ${ARTIFACTS_URL} \
|
|
|
|
--mesa-url ${MESA_URL} \
|
2019-12-17 18:50:14 +08:00
|
|
|
--device-type ${DEVICE_TYPE} \
|
|
|
|
--env-vars "${ENV_VARS}" \
|
2019-12-18 23:11:33 +08:00
|
|
|
--deqp-version ${DEQP_VERSION} \
|
2019-12-17 18:50:14 +08:00
|
|
|
--kernel-image-name ${KERNEL_IMAGE_NAME} \
|
|
|
|
--kernel-image-type "${KERNEL_IMAGE_TYPE}" \
|
|
|
|
--gpu-version ${GPU_VERSION} \
|
|
|
|
--boot-method ${BOOT_METHOD} \
|
2020-01-17 11:37:32 +08:00
|
|
|
--lava-tags "${LAVA_TAGS}" \
|
|
|
|
--ci-node-index "${CI_NODE_INDEX}" \
|
|
|
|
--ci-node-total "${CI_NODE_TOTAL}"
|
2020-03-24 19:58:43 +08:00
|
|
|
- lava_job_id=`lavacli jobs submit lava-deqp.yml` || lavacli jobs submit lava-deqp.yml
|
2019-08-15 16:41:21 +08:00
|
|
|
- echo $lava_job_id
|
2019-12-17 18:50:14 +08:00
|
|
|
- rm -rf artifacts/*
|
|
|
|
- cp lava-deqp.yml artifacts/.
|
2020-02-21 02:15:43 +08:00
|
|
|
- lavacli jobs logs $lava_job_id | tee artifacts/lava-deqp-$lava_job_id.log
|
2019-04-30 00:33:22 +08:00
|
|
|
- lavacli jobs show $lava_job_id
|
2019-08-15 16:41:21 +08:00
|
|
|
- result=`lavacli results $lava_job_id 0_deqp deqp | head -1`
|
|
|
|
- echo $result
|
2019-09-18 22:43:30 +08:00
|
|
|
- '[[ "$result" == "pass" ]]'
|
2019-04-30 00:33:22 +08:00
|
|
|
artifacts:
|
2020-03-06 19:35:17 +08:00
|
|
|
name: "mesa_${CI_JOB_NAME}"
|
2019-04-30 00:33:22 +08:00
|
|
|
when: always
|
|
|
|
paths:
|
2019-12-17 18:50:14 +08:00
|
|
|
- artifacts/
|
2019-05-03 23:48:48 +08:00
|
|
|
|
2019-10-06 23:49:56 +08:00
|
|
|
.lava-test:armhf:
|
2019-11-12 01:13:28 +08:00
|
|
|
variables:
|
2019-12-17 18:50:14 +08:00
|
|
|
ARCH: armhf
|
|
|
|
KERNEL_IMAGE_NAME: zImage
|
|
|
|
KERNEL_IMAGE_TYPE: "type:\ zimage"
|
|
|
|
BOOT_METHOD: u-boot
|
|
|
|
extends:
|
|
|
|
- .lava-test
|
|
|
|
- .use-arm_build
|
|
|
|
needs:
|
2020-04-01 19:07:46 +08:00
|
|
|
- kernel+rootfs_armhf
|
2019-12-17 18:50:14 +08:00
|
|
|
- meson-armhf
|
2019-05-03 23:48:48 +08:00
|
|
|
|
2019-10-06 23:49:56 +08:00
|
|
|
.lava-test:arm64:
|
2019-11-12 01:13:28 +08:00
|
|
|
variables:
|
2019-12-17 18:50:14 +08:00
|
|
|
ARCH: arm64
|
|
|
|
KERNEL_IMAGE_NAME: Image
|
|
|
|
KERNEL_IMAGE_TYPE: "type:\ image"
|
|
|
|
BOOT_METHOD: u-boot
|
|
|
|
extends:
|
|
|
|
- .lava-test
|
|
|
|
- .use-arm_build
|
|
|
|
needs:
|
2020-04-01 19:07:46 +08:00
|
|
|
- kernel+rootfs_arm64
|
2019-12-17 18:50:14 +08:00
|
|
|
- meson-arm64
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-06-03 02:59:00 +08:00
|
|
|
panfrost-t720-gles2:arm64:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .panfrost-rules
|
2019-10-25 19:04:34 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: sun50i-h6-pine-h64
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: panfrost-t720
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T720"
|
2019-10-25 19:04:34 +08:00
|
|
|
tags:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mesa-ci-aarch64-lava-collabora
|
2019-10-25 19:04:34 +08:00
|
|
|
|
2020-06-03 02:59:00 +08:00
|
|
|
panfrost-t760-gles2:armhf:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:armhf
|
|
|
|
- .panfrost-rules
|
2019-10-06 23:49:56 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: rk3288-veyron-jaq
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: panfrost-t760
|
|
|
|
BOOT_METHOD: depthcharge
|
|
|
|
KERNEL_IMAGE_TYPE: ""
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T760"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mesa-ci-aarch64-lava-collabora
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-06-30 21:49:16 +08:00
|
|
|
panfrost-t860-gles2:arm64:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .panfrost-rules
|
2019-10-06 23:49:56 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: rk3399-gru-kevin
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: panfrost-t860
|
|
|
|
BOOT_METHOD: depthcharge
|
|
|
|
KERNEL_IMAGE_TYPE: ""
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T860"
|
2019-09-18 22:43:30 +08:00
|
|
|
tags:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mesa-ci-aarch64-lava-collabora
|
2019-05-03 23:48:48 +08:00
|
|
|
|
2020-06-30 21:49:16 +08:00
|
|
|
panfrost-t860-gles3:arm64:
|
2020-07-16 16:24:35 +08:00
|
|
|
parallel: 2
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .panfrost-rules
|
2019-12-18 23:11:33 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: rk3399-gru-kevin
|
|
|
|
GPU_VERSION: panfrost-t860
|
|
|
|
BOOT_METHOD: depthcharge
|
|
|
|
KERNEL_IMAGE_TYPE: ""
|
|
|
|
DEQP_VERSION: gles3
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T860"
|
2019-12-18 23:11:33 +08:00
|
|
|
tags:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mesa-ci-aarch64-lava-collabora
|
2019-12-18 23:11:33 +08:00
|
|
|
|
2020-06-24 10:23:32 +08:00
|
|
|
.panfrost-t820-gles2:arm64:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .panfrost-rules
|
2019-09-20 21:43:19 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: meson-gxm-khadas-vim2
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: panfrost-t820
|
|
|
|
LAVA_TAGS: panfrost
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=T820"
|
2019-09-20 21:43:19 +08:00
|
|
|
tags:
|
2020-03-26 00:06:18 +08:00
|
|
|
- mesa-ci-aarch64-lava-baylibre
|
2019-09-20 21:43:19 +08:00
|
|
|
|
2020-06-24 10:23:32 +08:00
|
|
|
.lima-mali400-test:armhf:
|
2019-12-19 14:15:11 +08:00
|
|
|
parallel: 2
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:armhf
|
|
|
|
- .lima-rules
|
2019-10-06 23:49:56 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: sun8i-h3-libretech-all-h3-cc
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: lima
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "DEQP_PARALLEL=3 DEQP_EXPECTED_RENDERER=Mali400"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
2020-03-26 00:06:18 +08:00
|
|
|
- mesa-ci-aarch64-lava-baylibre
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-06-24 10:23:32 +08:00
|
|
|
.lima-mali450-test:arm64:
|
2019-10-31 03:39:08 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
|
|
|
- .lima-rules
|
2019-10-06 23:49:56 +08:00
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: meson-gxl-s905x-libretech-cc
|
2019-12-17 18:50:14 +08:00
|
|
|
GPU_VERSION: lima
|
2020-04-18 03:39:32 +08:00
|
|
|
ENV_VARS: "DEQP_PARALLEL=6 DEQP_EXPECTED_RENDERER=Mali450"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
2020-03-26 00:06:18 +08:00
|
|
|
- mesa-ci-aarch64-lava-baylibre
|