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
|
2019-04-30 00:33:22 +08:00
|
|
|
script:
|
2020-03-24 19:58:43 +08:00
|
|
|
- mkdir -p /srv/${FILES_HOST_NAME}/$CI_JOB_ID/
|
|
|
|
- cp /lava-files/${KERNEL_IMAGE_NAME} /srv/${FILES_HOST_NAME}/$CI_JOB_ID/.
|
|
|
|
- cp /lava-files/${DEVICE_TYPE}.dtb /srv/${FILES_HOST_NAME}/$CI_JOB_ID/.
|
|
|
|
- tar -C /lava-files/rootfs-${ARCH} -xf artifacts/install.tar
|
|
|
|
- pushd /lava-files/rootfs-${ARCH}
|
|
|
|
- find -H | cpio -H newc -o | gzip -c - > /srv/${FILES_HOST_NAME}/$CI_JOB_ID/lava-rootfs-${ARCH}.cpio.gz
|
|
|
|
- popd
|
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-03-26 00:05:46 +08:00
|
|
|
--base-artifacts-url ${FILES_HOST_URL}/$CI_JOB_ID \
|
2019-12-17 18:50:14 +08:00
|
|
|
--device-type ${DEVICE_TYPE} \
|
|
|
|
--env-vars "${ENV_VARS}" \
|
|
|
|
--arch ${ARCH} \
|
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" ]]'
|
2020-03-24 19:58:43 +08:00
|
|
|
after_script:
|
|
|
|
- rm -rf /srv/${FILES_HOST_NAME}/$CI_JOB_ID/
|
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
|
2019-09-02 14:33:11 +08:00
|
|
|
dependencies:
|
2019-12-17 18:50:14 +08:00
|
|
|
- meson-armhf
|
|
|
|
needs:
|
|
|
|
- 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
|
2019-05-03 23:48:48 +08:00
|
|
|
dependencies:
|
2019-12-17 18:50:14 +08:00
|
|
|
- meson-arm64
|
|
|
|
needs:
|
|
|
|
- meson-arm64
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-03-02 20:14:16 +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-02-27 20:30:29 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6"
|
2020-03-26 00:05:46 +08:00
|
|
|
FILES_HOST_NAME: "mesa-ci-lava-files.freedesktop.org"
|
|
|
|
FILES_HOST_URL: "https://mesa-ci-lava-files.freedesktop.org"
|
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-03-02 20:14:16 +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-02-27 20:30:29 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6"
|
2020-03-26 00:05:46 +08:00
|
|
|
FILES_HOST_NAME: "mesa-ci-lava-files.freedesktop.org"
|
|
|
|
FILES_HOST_URL: "https://mesa-ci-lava-files.freedesktop.org"
|
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-03-02 20:14: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-02-27 20:30:29 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6"
|
2020-03-26 00:05:46 +08:00
|
|
|
FILES_HOST_NAME: "mesa-ci-lava-files.freedesktop.org"
|
|
|
|
FILES_HOST_URL: "https://mesa-ci-lava-files.freedesktop.org"
|
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-03-02 20:14:16 +08:00
|
|
|
panfrost-t860-gles3:arm64:
|
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-02-27 20:30:29 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6"
|
2019-12-18 23:11:33 +08:00
|
|
|
CI_NODE_INDEX: 1
|
|
|
|
CI_NODE_TOTAL: 5
|
2020-03-26 00:05:46 +08:00
|
|
|
FILES_HOST_NAME: "mesa-ci-lava-files.freedesktop.org"
|
|
|
|
FILES_HOST_URL: "https://mesa-ci-lava-files.freedesktop.org"
|
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-03-24 19:58:43 +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-02-27 20:30:29 +08:00
|
|
|
ENV_VARS: "PAN_MESA_DEBUG=gles3 DEQP_PARALLEL=6"
|
2019-09-20 21:43:19 +08:00
|
|
|
tags:
|
|
|
|
- lava-meson-gxm-khadas-vim2
|
|
|
|
|
2019-12-19 14:15:11 +08:00
|
|
|
.lima-mali400-test:armhf:
|
|
|
|
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
|
2019-12-19 14:15:11 +08:00
|
|
|
ENV_VARS: "DEQP_PARALLEL=3"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
|
|
|
- lava-sun8i-h3-libretech-all-h3-cc
|
|
|
|
|
2020-03-24 19:58:43 +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
|
2019-12-19 14:15:11 +08:00
|
|
|
ENV_VARS: "DEQP_PARALLEL=6"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
|
|
|
- lava-meson-gxl-s905x-libretech-cc
|