Mesa (master): ci/fastboot: exclude either deqp or piglit
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Sat Jan 2 03:29:52 UTC 2021
Module: Mesa
Branch: master
Commit: b020feb4d14476957baedf98ede5c836a77867b1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=b020feb4d14476957baedf98ede5c836a77867b1
Author: Christian Gmeiner <christian.gmeiner at gmail.com>
Date: Tue Oct 20 19:33:07 2020 +0200
ci/fastboot: exclude either deqp or piglit
Keep the generated initramfs image as small as possible.
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
Reviewed-by: Eric Anholt <eric at anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7370>
---
.gitlab-ci/bare-metal/fastboot.sh | 11 +++++++++--
1 file changed, 9 insertions(+), 2 deletions(-)
diff --git a/.gitlab-ci/bare-metal/fastboot.sh b/.gitlab-ci/bare-metal/fastboot.sh
index a9c0114584a..e481c8cc6dc 100755
--- a/.gitlab-ci/bare-metal/fastboot.sh
+++ b/.gitlab-ci/bare-metal/fastboot.sh
@@ -64,11 +64,18 @@ rsync -a --delete $BM_ROOTFS/ rootfs/
# Finally, pack it up into a cpio rootfs. Skip the vulkan CTS since none of
# these devices use it and it would take up space in the initrd.
+
+if [ -n "$PIGLIT_PROFILES" ]; then
+ EXCLUDE_FILTER="deqp"
+else
+ EXCLUDE_FILTER="piglit|python"
+fi
+
pushd rootfs
find -H | \
egrep -v "external/(openglcts|vulkancts|amber|glslang|spirv-tools)" |
- egrep -v "traces-db|apitrace|renderdoc|python" | \
- egrep -v "piglit" | \
+ egrep -v "traces-db|apitrace|renderdoc" | \
+ egrep -v $EXCLUDE_FILTER | \
cpio -H newc -o | \
xz --check=crc32 -T4 - > $CI_PROJECT_DIR/rootfs.cpio.gz
popd
More information about the mesa-commit
mailing list