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
|
|
|
stage: test
|
|
|
|
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:
|
2019-12-17 18:50:14 +08:00
|
|
|
- BUILD_JOB_ID=`cat artifacts/build_job_id.txt`
|
|
|
|
- >
|
|
|
|
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}" \
|
2019-12-17 18:50:14 +08:00
|
|
|
--base-artifacts-url $CI_PROJECT_URL/-/jobs/$BUILD_JOB_ID/artifacts/raw/artifacts \
|
|
|
|
--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}"
|
2019-12-17 18:50:14 +08:00
|
|
|
- lava_job_id=`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:
|
|
|
|
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-25 19:04:34 +08:00
|
|
|
extends: .lava-test:arm64
|
|
|
|
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"
|
2019-10-25 19:04:34 +08:00
|
|
|
tags:
|
|
|
|
- lava-sun50i-h6-pine-h64
|
|
|
|
|
2020-03-02 20:14:16 +08:00
|
|
|
panfrost-t760-gles2:armhf:
|
2019-10-06 23:49:56 +08:00
|
|
|
extends: .lava-test:armhf
|
|
|
|
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"
|
2019-10-06 23:49:56 +08:00
|
|
|
tags:
|
|
|
|
- lava-rk3288-veyron-jaq
|
|
|
|
|
2020-03-02 20:14:16 +08:00
|
|
|
panfrost-t860-gles2:arm64:
|
2019-10-06 23:49:56 +08:00
|
|
|
extends: .lava-test:arm64
|
|
|
|
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"
|
2019-09-18 22:43:30 +08:00
|
|
|
tags:
|
|
|
|
- lava-rk3399-gru-kevin
|
2019-05-03 23:48:48 +08:00
|
|
|
|
2020-03-02 20:14:16 +08:00
|
|
|
panfrost-t860-gles3:arm64:
|
2019-12-18 23:11:33 +08:00
|
|
|
extends: .lava-test:arm64
|
|
|
|
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
|
|
|
|
tags:
|
|
|
|
- lava-rk3399-gru-kevin
|
|
|
|
|
|
|
|
.panfrost-t820-gles2:arm64:
|
2019-09-20 21:43:19 +08:00
|
|
|
extends: .lava-test:arm64
|
|
|
|
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-06 23:49:56 +08:00
|
|
|
extends: .lava-test:armhf
|
|
|
|
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-02-20 19:43:46 +08:00
|
|
|
lima-mali450-test:arm64:
|
2019-10-06 23:49:56 +08:00
|
|
|
extends: .lava-test:arm64
|
|
|
|
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
|
2020-01-29 08:20:38 +08:00
|
|
|
|
|
|
|
freedreno-a307-gles2:
|
|
|
|
extends: .lava-test:arm64
|
|
|
|
variables:
|
|
|
|
DEVICE_TYPE: apq8016-sbc
|
|
|
|
GPU_VERSION: freedreno-a307
|
|
|
|
ENV_VARS: "DEQP_PARALLEL=4"
|
|
|
|
KERNEL_IMAGE_NAME: db410c.img
|
|
|
|
BOOT_METHOD: fastboot
|
|
|
|
tags:
|
|
|
|
- lava-mesa-db410c
|
2020-02-14 06:22:38 +08:00
|
|
|
|
|
|
|
.freedreno-a307-gles3:
|
|
|
|
parallel: 6
|
|
|
|
extends: freedreno-a307-gles2
|
|
|
|
variables:
|
|
|
|
DEQP_VERSION: gles3
|