From f4bb0e74fd31698e43aa3c9548fe6e8cdf99baae Mon Sep 17 00:00:00 2001 From: Daniel Stone Date: Fri, 18 Oct 2024 11:43:18 +0100 Subject: [PATCH] ci: Don't carry static libraries around for tests Our current install tarball is 120ish MB zstd, and over 500MB unpacked. A lot of this size was two static libraries which we'll obviously never use at runtime. Signed-off-by: Daniel Stone Part-of: --- .gitlab-ci/prepare-artifacts.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci/prepare-artifacts.sh b/.gitlab-ci/prepare-artifacts.sh index 351c16f7eca..a1c67cf69ab 100755 --- a/.gitlab-ci/prepare-artifacts.sh +++ b/.gitlab-ci/prepare-artifacts.sh @@ -11,6 +11,7 @@ CROSS_FILE=/cross_file-"$CROSS".txt # Delete unused bin and includes from artifacts to save space. rm -rf install/bin install/include +rm -f install/lib/*.a # Strip the drivers in the artifacts to cut 80% of the artifacts size. if [ -n "$CROSS" ]; then