summaryrefslogtreecommitdiff
path: root/.gitlab-ci/prepare-artifacts.sh
diff options
context:
space:
mode:
authorMichel Dänzer <mdaenzer@redhat.com>2019-11-06 19:58:19 +0100
committerMichel Dänzer <michel@daenzer.net>2019-11-12 10:18:31 +0100
commitaf684753f3437aaf708f8256b0517ed39b893a61 (patch)
treedebd64dd81597651035d386e88add8094c456a00 /.gitlab-ci/prepare-artifacts.sh
parentaebf43dcc11f6bcf4d02d4d4323ccf82ae29f6a3 (diff)
gitlab-ci: Delete install/bin from artifacts as well
This cuts the x86 artifacts zip file size in less than half. Reviewed-by: Eric Anholt <eric@anholt.net>
Diffstat (limited to '.gitlab-ci/prepare-artifacts.sh')
-rwxr-xr-x.gitlab-ci/prepare-artifacts.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/.gitlab-ci/prepare-artifacts.sh b/.gitlab-ci/prepare-artifacts.sh
index 05a66177dd6..2a661b5e3d7 100755
--- a/.gitlab-ci/prepare-artifacts.sh
+++ b/.gitlab-ci/prepare-artifacts.sh
@@ -3,8 +3,8 @@
set -e
set -o xtrace
-# Delete 2MB of includes from artifacts.
-rm -rf install/include
+# Delete unused bin and includes from artifacts to save space.
+rm -rf install/bin install/include
# Strip the drivers in the artifacts to cut 80% of the artifacts size.
if [ -n "$CROSS" ]; then