glsl: Add ir_constant constructor for fp16
[mesa.git] / .gitlab-ci / lava-deqp.yml.jinja2
1 job_name: mesa-deqp-{{ deqp_version }}-{{ gpu_version }} {{ pipeline_info }}
2 device_type: {{ device_type }}
3 timeouts:
4 job:
5 minutes: 40
6 action:
7 minutes: 10
8 actions:
9 power-off:
10 seconds: 30
11 priority: 75
12 visibility: public
13 {% if tags %}
14 tags:
15 {% for tag in tags %}
16 - {{ tag }}
17 {% endfor %}
18 {% endif %}
19 actions:
20 - deploy:
21 timeout:
22 minutes: 10
23 {% if boot_method == "fastboot" %}
24 {# fastboot has just one boot image with the dtb and rootfs packed in #}
25 to: fastboot
26 images:
27 boot:
28 url: {{ base_artifacts_url }}/{{ kernel_image_name }}
29 {% else %}
30 to: tftp
31 kernel:
32 url: {{ base_artifacts_url }}/{{ kernel_image_name }}
33 {% if kernel_image_type %}
34 {{ kernel_image_type }}
35 {% endif %}
36 ramdisk:
37 url: {{ base_artifacts_url }}/lava-rootfs-{{ arch }}.cpio.gz
38 compression: gz
39 dtb:
40 url: {{ base_artifacts_url }}/{{ device_type }}.dtb
41 {% endif %}
42 os: oe
43 - boot:
44 timeout:
45 minutes: 5
46 method: {{ boot_method }}
47 {% if boot_method == "fastboot" %}
48 {#
49 For fastboot, LAVA doesn't know how to unpack the rootfs/apply overlay/repack,
50 so we transfer the overlay over the network after boot.
51 #}
52 transfer_overlay:
53 download_command: wget -S --progress=dot:giga
54 unpack_command: tar -C / -xzf
55 {% else %}
56 commands: ramdisk
57 {% endif %}
58 prompts:
59 - 'lava-shell:'
60 - test:
61 timeout:
62 minutes: 60
63 definitions:
64 - repository:
65 metadata:
66 format: Lava-Test Test Definition 1.0
67 name: deqp
68 description: "Mesa dEQP test plan"
69 os:
70 - oe
71 scope:
72 - functional
73 run:
74 steps:
75 - mount -t proc none /proc
76 - mount -t sysfs none /sys
77 - mount -t devtmpfs none /dev || echo possibly already mounted
78 - mkdir -p /dev/pts
79 - mount -t devpts devpts /dev/pts
80
81 {% if env_vars %}
82 - export {{ env_vars }}
83 {% endif %}
84
85 - export DEQP_NO_SAVE_RESULTS=1
86 - 'export DEQP_RUNNER_OPTIONS="--compact-display false --shuffle false"'
87 - export DEQP_EXPECTED_FAILS=deqp-{{ gpu_version }}-fails.txt
88 - export DEQP_SKIPS=deqp-{{ gpu_version }}-skips.txt
89 - export DEQP_VER={{ deqp_version }}
90 - export LIBGL_DRIVERS_PATH=`pwd`/install/lib/dri
91
92 # Put stuff where the runner script expects it
93 - mkdir artifacts
94 - mkdir results
95 - mkdir -p install/lib
96 - cp /deqp/$DEQP_EXPECTED_FAILS artifacts/.
97 - cp /deqp/$DEQP_SKIPS artifacts/.
98 - mv /mesa/lib/* install/lib/.
99
100 - "if sh /deqp/deqp-runner.sh; then
101 echo 'deqp: pass';
102 else
103 echo 'deqp: fail';
104 fi"
105 parse:
106 pattern: '(?P<test_case_id>\S*):\s+(?P<result>(pass|fail))'
107 from: inline
108 name: deqp
109 path: inline/mesa-deqp.yaml