1bf215546Sopenharmony_ci.lava-test:
2bf215546Sopenharmony_ci  # Cancel job if a newer commit is pushed to the same branch
3bf215546Sopenharmony_ci  interruptible: true
4bf215546Sopenharmony_ci  variables:
5bf215546Sopenharmony_ci    GIT_STRATEGY: none # testing doesn't build anything from source
6bf215546Sopenharmony_ci    FDO_CI_CONCURRENT: 6 # should be replaced by per-machine definitions
7bf215546Sopenharmony_ci    DEQP_VER: gles2
8bf215546Sopenharmony_ci    # proxy used to cache data locally
9bf215546Sopenharmony_ci    FDO_HTTP_CACHE_URI: "http://caching-proxy/cache/?uri="
10bf215546Sopenharmony_ci    # base system generated by the container build job, shared between many pipelines
11bf215546Sopenharmony_ci    BASE_SYSTEM_HOST_PREFIX: "${MINIO_HOST}/mesa-lava"
12bf215546Sopenharmony_ci    BASE_SYSTEM_MAINLINE_HOST_PATH: "${BASE_SYSTEM_HOST_PREFIX}/${FDO_UPSTREAM_REPO}/${DISTRIBUTION_TAG}/${ARCH}"
13bf215546Sopenharmony_ci    BASE_SYSTEM_FORK_HOST_PATH: "${BASE_SYSTEM_HOST_PREFIX}/${CI_PROJECT_PATH}/${DISTRIBUTION_TAG}/${ARCH}"
14bf215546Sopenharmony_ci    # per-job build artifacts
15bf215546Sopenharmony_ci    BUILD_PATH: "${PIPELINE_ARTIFACTS_BASE}/${CI_PROJECT_NAME}-${ARCH}.tar.gz"
16bf215546Sopenharmony_ci    JOB_ROOTFS_OVERLAY_PATH: "${JOB_ARTIFACTS_BASE}/job-rootfs-overlay.tar.gz"
17bf215546Sopenharmony_ci    JOB_RESULTS_PATH: "${JOB_ARTIFACTS_BASE}/results.tar.gz"
18bf215546Sopenharmony_ci    MINIO_RESULTS_UPLOAD: "${JOB_ARTIFACTS_BASE}"
19bf215546Sopenharmony_ci    PIGLIT_NO_WINDOW: 1
20bf215546Sopenharmony_ci    VISIBILITY_GROUP: "Collabora+fdo"
21bf215546Sopenharmony_ci  script:
22bf215546Sopenharmony_ci    - ./artifacts/lava/lava-submit.sh
23bf215546Sopenharmony_ci  artifacts:
24bf215546Sopenharmony_ci    name: "${CI_PROJECT_NAME}_${CI_JOB_NAME}"
25bf215546Sopenharmony_ci    when: always
26bf215546Sopenharmony_ci    paths:
27bf215546Sopenharmony_ci      - results/
28bf215546Sopenharmony_ci    exclude:
29bf215546Sopenharmony_ci      - results/*.shader_cache
30bf215546Sopenharmony_ci  tags:
31bf215546Sopenharmony_ci    - $RUNNER_TAG
32bf215546Sopenharmony_ci  after_script:
33bf215546Sopenharmony_ci    - wget -q "https://${JOB_RESULTS_PATH}" -O- | tar -xz
34bf215546Sopenharmony_ci
35bf215546Sopenharmony_ci.lava-test:armhf:
36bf215546Sopenharmony_ci  variables:
37bf215546Sopenharmony_ci    ARCH: armhf
38bf215546Sopenharmony_ci    KERNEL_IMAGE_NAME: zImage
39bf215546Sopenharmony_ci    KERNEL_IMAGE_TYPE: "zimage"
40bf215546Sopenharmony_ci    BOOT_METHOD: u-boot
41bf215546Sopenharmony_ci    HWCI_TEST_SCRIPT: "/install/deqp-runner.sh"
42bf215546Sopenharmony_ci  extends:
43bf215546Sopenharmony_ci    - .use-debian/arm_build # for same $MESA_ARTIFACTS_TAG as in kernel+rootfs_armhf
44bf215546Sopenharmony_ci    - .use-debian/x86_build
45bf215546Sopenharmony_ci    - .lava-test
46bf215546Sopenharmony_ci    - .use-kernel+rootfs-arm
47bf215546Sopenharmony_ci  needs:
48bf215546Sopenharmony_ci    - kernel+rootfs_armhf
49bf215546Sopenharmony_ci    - debian/x86_build
50bf215546Sopenharmony_ci    - debian-armhf
51bf215546Sopenharmony_ci
52bf215546Sopenharmony_ci.lava-test:arm64:
53bf215546Sopenharmony_ci  variables:
54bf215546Sopenharmony_ci    ARCH: arm64
55bf215546Sopenharmony_ci    KERNEL_IMAGE_NAME: Image
56bf215546Sopenharmony_ci    KERNEL_IMAGE_TYPE: "image"
57bf215546Sopenharmony_ci    BOOT_METHOD: u-boot
58bf215546Sopenharmony_ci    HWCI_TEST_SCRIPT: "/install/deqp-runner.sh"
59bf215546Sopenharmony_ci  extends:
60bf215546Sopenharmony_ci    - .use-debian/arm_build # for same $MESA_ARTIFACTS_TAG as in kernel+rootfs_arm64
61bf215546Sopenharmony_ci    - .use-debian/x86_build
62bf215546Sopenharmony_ci    - .lava-test
63bf215546Sopenharmony_ci    - .use-kernel+rootfs-arm
64bf215546Sopenharmony_ci  dependencies:
65bf215546Sopenharmony_ci    - debian-arm64
66bf215546Sopenharmony_ci  needs:
67bf215546Sopenharmony_ci    - kernel+rootfs_arm64
68bf215546Sopenharmony_ci    - debian/x86_build
69bf215546Sopenharmony_ci    - debian-arm64
70bf215546Sopenharmony_ci
71bf215546Sopenharmony_ci.lava-test:amd64:
72bf215546Sopenharmony_ci  variables:
73bf215546Sopenharmony_ci    ARCH: amd64
74bf215546Sopenharmony_ci    KERNEL_IMAGE_NAME: bzImage
75bf215546Sopenharmony_ci    KERNEL_IMAGE_TYPE: "zimage"
76bf215546Sopenharmony_ci    BOOT_METHOD: u-boot
77bf215546Sopenharmony_ci    HWCI_TEST_SCRIPT: "/install/deqp-runner.sh"
78bf215546Sopenharmony_ci  extends:
79bf215546Sopenharmony_ci    - .use-debian/x86_build-base # for same $MESA_ARTIFACTS_BASE_TAG as in kernel+rootfs_amd64
80bf215546Sopenharmony_ci    - .use-debian/x86_build
81bf215546Sopenharmony_ci    - .lava-test
82bf215546Sopenharmony_ci    - .use-kernel+rootfs-amd64
83bf215546Sopenharmony_ci  needs:
84bf215546Sopenharmony_ci    - kernel+rootfs_amd64
85bf215546Sopenharmony_ci    - debian-testing
86bf215546Sopenharmony_ci
87bf215546Sopenharmony_ci.lava-traces-base:
88bf215546Sopenharmony_ci  variables:
89bf215546Sopenharmony_ci    HWCI_TEST_SCRIPT: "/install/piglit/piglit-traces.sh"
90bf215546Sopenharmony_ci  artifacts:
91bf215546Sopenharmony_ci    reports:
92bf215546Sopenharmony_ci      junit: results/junit.xml
93bf215546Sopenharmony_ci
94bf215546Sopenharmony_ci.lava-piglit:
95bf215546Sopenharmony_ci  variables:
96bf215546Sopenharmony_ci    PIGLIT_REPLAY_DEVICE_NAME: "gl-${GPU_VERSION}"
97bf215546Sopenharmony_ci    PIGLIT_RESULTS: "${GPU_VERSION}-${PIGLIT_PROFILES}"
98bf215546Sopenharmony_ci    HWCI_TEST_SCRIPT: "/install/piglit/piglit-runner.sh"
99bf215546Sopenharmony_ci
100bf215546Sopenharmony_ci.lava-piglit-traces:amd64:
101bf215546Sopenharmony_ci  extends:
102bf215546Sopenharmony_ci    - .lava-test:amd64
103bf215546Sopenharmony_ci    - .lava-piglit
104bf215546Sopenharmony_ci    - .lava-traces-base
105bf215546Sopenharmony_ci
106bf215546Sopenharmony_ci.lava-piglit-traces:armhf:
107bf215546Sopenharmony_ci  extends:
108bf215546Sopenharmony_ci    - .lava-test:armhf
109bf215546Sopenharmony_ci    - .lava-piglit
110bf215546Sopenharmony_ci    - .lava-traces-base
111bf215546Sopenharmony_ci
112bf215546Sopenharmony_ci.lava-piglit-traces:arm64:
113bf215546Sopenharmony_ci  extends:
114bf215546Sopenharmony_ci    - .lava-test:arm64
115bf215546Sopenharmony_ci    - .lava-piglit
116bf215546Sopenharmony_ci    - .lava-traces-base
117bf215546Sopenharmony_ci
118bf215546Sopenharmony_ci.lava-piglit:amd64:
119bf215546Sopenharmony_ci  extends:
120bf215546Sopenharmony_ci    - .lava-test:amd64
121bf215546Sopenharmony_ci    - .lava-piglit
122