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
|
2020-07-21 22:13:37 +08:00
|
|
|
# Cancel job if a newer commit is pushed to the same branch
|
|
|
|
interruptible: true
|
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"
|
2021-06-10 23:29:39 +08:00
|
|
|
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_DIR=${CI_PROJECT_DIR} CI_PROJECT_PATH=${CI_PROJECT_PATH} CI_PROJECT_ROOT_NAMESPACE=${CI_PROJECT_ROOT_NAMESPACE} 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} LAVA_TEST_SCRIPT=${LAVA_TEST_SCRIPT} VK_DRIVER=${VK_DRIVER} FLAKES_CHANNEL=${FLAKES_CHANNEL} PIPELINE_ARTIFACTS_BASE=${PIPELINE_ARTIFACTS_BASE} JOB_ARTIFACTS_BASE=${JOB_ARTIFACTS_BASE}"
|
2019-12-18 23:11:33 +08:00
|
|
|
DEQP_VERSION: gles2
|
2021-06-10 21:53:57 +08:00
|
|
|
# proxy used to cache data locally
|
|
|
|
FDO_HTTP_CACHE_URI: "http://caching-proxy/cache/?uri="
|
|
|
|
# base system generated by the container build job, shared between many pipelines
|
|
|
|
BASE_SYSTEM_HOST_PREFIX: "${MINIO_HOST}/mesa-lava"
|
|
|
|
BASE_SYSTEM_MAINLINE_HOST_PATH: "${BASE_SYSTEM_HOST_PREFIX}/${FDO_UPSTREAM_REPO}/${DISTRIBUTION_TAG}/${ARCH}"
|
|
|
|
BASE_SYSTEM_FORK_HOST_PATH: "${BASE_SYSTEM_HOST_PREFIX}/${CI_PROJECT_PATH}/${DISTRIBUTION_TAG}/${ARCH}"
|
2021-06-10 23:24:48 +08:00
|
|
|
# per-job build artifacts
|
2021-06-10 21:53:57 +08:00
|
|
|
MESA_BUILD_PATH: "${PIPELINE_ARTIFACTS_BASE}/mesa-${ARCH}.tar.gz"
|
2021-06-10 23:29:39 +08:00
|
|
|
JOB_RESULTS_PATH: "${JOB_ARTIFACTS_BASE}/results.tar.gz"
|
2019-04-30 00:33:22 +08:00
|
|
|
script:
|
2021-06-10 20:11:02 +08:00
|
|
|
- ./artifacts/lava/lava-submit.sh
|
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:
|
2021-04-17 05:18:07 +08:00
|
|
|
- results/
|
|
|
|
exclude:
|
|
|
|
- results/*.shader_cache
|
|
|
|
after_script:
|
2021-06-10 21:53:57 +08:00
|
|
|
- wget -q "https://${JOB_RESULTS_PATH}" -O- | tar -xz
|
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
|
2021-02-01 18:42:43 +08:00
|
|
|
LAVA_TEST_SCRIPT: "/install/deqp-runner.sh"
|
2019-12-17 18:50:14 +08:00
|
|
|
extends:
|
2021-05-31 15:03:04 +08:00
|
|
|
- .use-arm_build # for same $MESA_ARTIFACTS_TAG as in kernel+rootfs_armhf
|
|
|
|
- .use-x86_build
|
2019-12-17 18:50:14 +08:00
|
|
|
- .lava-test
|
2021-04-13 13:40:36 +08:00
|
|
|
- .use-kernel+rootfs-arm
|
2019-12-17 18:50:14 +08:00
|
|
|
needs:
|
2020-04-01 19:07:46 +08:00
|
|
|
- kernel+rootfs_armhf
|
2021-05-31 15:03:04 +08:00
|
|
|
- x86_build
|
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
|
2021-02-01 18:42:43 +08:00
|
|
|
LAVA_TEST_SCRIPT: "/install/deqp-runner.sh"
|
2019-12-17 18:50:14 +08:00
|
|
|
extends:
|
2021-05-31 15:03:04 +08:00
|
|
|
- .use-arm_build # for same $MESA_ARTIFACTS_TAG as in kernel+rootfs_arm64
|
|
|
|
- .use-x86_build
|
2019-12-17 18:50:14 +08:00
|
|
|
- .lava-test
|
2021-04-13 13:40:36 +08:00
|
|
|
- .use-kernel+rootfs-arm
|
2020-01-28 22:19:53 +08:00
|
|
|
dependencies:
|
|
|
|
- meson-arm64
|
2019-12-17 18:50:14 +08:00
|
|
|
needs:
|
2020-07-13 23:20:28 +08:00
|
|
|
- kernel+rootfs_arm64
|
2021-05-31 15:03:04 +08:00
|
|
|
- x86_build
|
2019-12-17 18:50:14 +08:00
|
|
|
- meson-arm64
|
2019-10-06 23:49:56 +08:00
|
|
|
|
2020-07-03 16:04:20 +08:00
|
|
|
.lava-test:amd64:
|
|
|
|
variables:
|
|
|
|
ARCH: amd64
|
|
|
|
KERNEL_IMAGE_NAME: bzImage
|
|
|
|
KERNEL_IMAGE_TYPE: "type:\ zimage"
|
|
|
|
BOOT_METHOD: u-boot
|
2021-02-01 18:42:43 +08:00
|
|
|
LAVA_TEST_SCRIPT: "/install/deqp-runner.sh"
|
2020-07-03 16:04:20 +08:00
|
|
|
extends:
|
2021-05-18 19:14:35 +08:00
|
|
|
- .use-x86_build-base # for same $MESA_ARTIFACTS_BASE_TAG as in kernel+rootfs_amd64
|
2021-05-31 15:03:04 +08:00
|
|
|
- .use-x86_build
|
2020-12-16 19:17:46 +08:00
|
|
|
- .lava-test
|
2021-04-13 13:40:36 +08:00
|
|
|
- .use-kernel+rootfs-amd64
|
2020-07-03 16:04:20 +08:00
|
|
|
needs:
|
|
|
|
- kernel+rootfs_amd64
|
|
|
|
- meson-testing
|
|
|
|
|
2020-09-04 18:53:41 +08:00
|
|
|
.lava-traces-base:
|
2021-04-07 15:23:13 +08:00
|
|
|
variables:
|
|
|
|
LAVA_TEST_SCRIPT: "/install/piglit/run.sh"
|
2020-09-04 18:53:41 +08:00
|
|
|
artifacts:
|
|
|
|
reports:
|
2021-04-17 05:18:07 +08:00
|
|
|
junit: results/junit.xml
|
2020-09-04 18:53:41 +08:00
|
|
|
|
2020-08-28 03:18:00 +08:00
|
|
|
.lava-piglit:
|
2020-07-03 16:04:20 +08:00
|
|
|
variables:
|
2021-04-07 15:23:13 +08:00
|
|
|
LAVA_TEST_SCRIPT: "/install/piglit/piglit-runner.sh"
|
2020-08-28 03:18:00 +08:00
|
|
|
|
|
|
|
.lava-piglit-traces:amd64:
|
2020-07-03 16:04:20 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:amd64
|
2020-08-28 03:18:00 +08:00
|
|
|
- .lava-piglit
|
2020-09-04 18:53:41 +08:00
|
|
|
- .lava-traces-base
|
2020-07-03 16:04:20 +08:00
|
|
|
|
2020-08-28 03:18:00 +08:00
|
|
|
.lava-piglit-traces:armhf:
|
2020-01-28 22:19:53 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:armhf
|
2020-08-28 03:18:00 +08:00
|
|
|
- .lava-piglit
|
2020-09-04 18:53:41 +08:00
|
|
|
- .lava-traces-base
|
2020-01-28 22:19:53 +08:00
|
|
|
|
2020-08-28 03:18:00 +08:00
|
|
|
.lava-piglit-traces:arm64:
|
2020-01-28 22:19:53 +08:00
|
|
|
extends:
|
|
|
|
- .lava-test:arm64
|
2020-08-28 03:18:00 +08:00
|
|
|
- .lava-piglit
|
2020-09-04 18:53:41 +08:00
|
|
|
- .lava-traces-base
|
2021-04-07 15:23:13 +08:00
|
|
|
|
|
|
|
.lava-piglit:amd64:
|
|
|
|
extends:
|
|
|
|
- .lava-test:amd64
|
|
|
|
- .lava-piglit
|