variables:
DEQP_VER: gles3
-arm64_a306_gles2:
- extends: arm64_a630_gles2
- variables:
- DEQP_EXPECTED_FAILS: deqp-freedreno-a307-fails.txt
- DEQP_SKIPS: deqp-default-skips.txt
- tags:
- - db410c
-
# RADV CI
.test-radv:
variables:
--- /dev/null
+# Note: skips lists for CI are just a list of lines that, when
+# non-zero-length and not starting with '#', will regex match to
+# delete lines from the test list. Be careful.
+
+# Skip the perf/stress tests to keep runtime manageable
+dEQP-GLES[0-9]*.performance.*
+dEQP-GLES[0-9]*.stress.*
+
+# These are really slow on tiling architectures (including llvmpipe).
+dEQP-GLES[0-9]*.functional.flush_finish.*
- deploy:
timeout:
minutes: 10
+{% if boot_method == "fastboot" %}
+{# fastboot has just one boot image with the dtb and rootfs packed in #}
+ to: fastboot
+ images:
+ boot:
+ url: {{ base_artifacts_url }}/{{ kernel_image_name }}
+{% else %}
to: tftp
kernel:
url: {{ base_artifacts_url }}/{{ kernel_image_name }}
compression: gz
dtb:
url: {{ base_artifacts_url }}/{{ device_type }}.dtb
+{% endif %}
os: oe
- boot:
timeout:
minutes: 5
method: {{ boot_method }}
+{% if boot_method == "fastboot" %}
+{#
+ For fastboot, LAVA doesn't know how to unpack the rootfs/apply overlay/repack,
+ so we transfer the overlay over the network after boot.
+#}
+ transfer_overlay:
+ download_command: wget -S --progress=dot:giga
+ unpack_command: tar -C / -xzf
+{% else %}
commands: ramdisk
+{% endif %}
prompts:
- 'lava-shell:'
- test:
steps:
- mount -t proc none /proc
- mount -t sysfs none /sys
- - mount -t devtmpfs none /dev
+ - mount -t devtmpfs none /dev || echo possibly already mounted
- mkdir -p /dev/pts
- mount -t devpts devpts /dev/pts
ENV_VARS: "DEQP_PARALLEL=6"
tags:
- lava-meson-gxl-s905x-libretech-cc
+
+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
find -H | cpio -H newc -o | gzip -c - > $CI_PROJECT_DIR/artifacts/lava-rootfs-${CROSS:-arm64}.cpio.gz
popd
+ if [ -z "$CROSS" ]; then
+ gzip -c artifacts/Image > Image.gz
+ cat Image.gz artifacts/apq8016-sbc.dtb > Image.gz-dtb
+ abootimg \
+ --create artifacts/db410c.img \
+ -k Image.gz-dtb \
+ -r artifacts/lava-rootfs-${CROSS:-arm64}.cpio.gz \
+ -c cmdline="ip=dhcp console=ttyMSM0,115200n8"
+ rm Image.gz Image.gz-dtb
+ fi
+
# Store job ID so the test stage can build URLs to the artifacts
echo $CI_JOB_ID > artifacts/build_job_id.txt