File tree 2 files changed +66
-0
lines changed 2 files changed +66
-0
lines changed Original file line number Diff line number Diff line change @@ -113,6 +113,18 @@ rootfs_configs:
113
113
script : " scripts/bookworm-cros-ec-tests.sh"
114
114
test_overlay : " "
115
115
116
+ bookworm-deqp-runner :
117
+ rootfs_type : debos
118
+ debian_release : bookworm
119
+ arch_list :
120
+ - amd64
121
+ - arm64
122
+ - armhf
123
+ script : " scripts/bookworm-deqp-runner.sh"
124
+ imagesize : 4GB
125
+ debos_memory : 8G
126
+ debos_scratchsize : 16G
127
+
116
128
bookworm-fault-injection :
117
129
rootfs_type : debos
118
130
debian_release : bookworm
Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # SPDX-License-Identifier: GPL-2.0-or-later
3
+ #
4
+ # Copyright (C) 2025 Collabora, Vignesh Raman <[email protected] >
5
+ #
6
+ # Based on the build-deqp-runner.sh script from the mesa project:
7
+ # https://gitlab.freedesktop.org/mesa/mesa/-/blob/main/.gitlab-ci/container/build-deqp-runner.sh
8
+ #
9
+ # shellcheck disable=SC2086 # we want word splitting
10
+
11
+ set -uex
12
+
13
+ # Build-depends needed to build the test suites, they'll be removed later
14
+ BUILD_DEPS=" \
15
+ build-essential \
16
+ ca-certificates \
17
+ curl \
18
+ git
19
+ "
20
+
21
+ export DEBIAN_FRONTEND=noninteractive
22
+
23
+ apt-get update
24
+ apt-get install --no-install-recommends -y ${BUILD_DEPS}
25
+
26
+ # Install rust
27
+ curl https://sh.rustup.rs -sSf | sh -s -- -y
28
+ . " $HOME /.cargo/env" || true
29
+
30
+ rustup component add clippy rustfmt
31
+
32
+ DEQP_RUNNER_GIT_URL=" ${DEQP_RUNNER_GIT_URL:- https:// github.com/ vigneshraman/ deqp-runner.git} "
33
+ DEQP_RUNNER_GIT_TAG=" ${DEQP_RUNNER_GIT_TAG:- v0.20.0} "
34
+
35
+ git clone $DEQP_RUNNER_GIT_URL --single-branch --no-checkout
36
+ pushd deqp-runner
37
+ git checkout $DEQP_RUNNER_GIT_TAG
38
+
39
+ cargo install --locked \
40
+ -j ${FDO_CI_CONCURRENT:- 4} \
41
+ --root /usr/local \
42
+ ${EXTRA_CARGO_ARGS:- } \
43
+ --path .
44
+
45
+ popd
46
+ rm -rf deqp-runner
47
+
48
+ # Cleanup cargo cache
49
+ rm -rf /root/.cargo/registry
50
+ rustup self uninstall -y
51
+
52
+ apt-get remove --purge -y ${BUILD_DEPS}
53
+ apt-get autoremove --purge -y
54
+ apt-get clean
You can’t perform that action at this time.
0 commit comments