gitlab-ci: Delete install/bin from artifacts as well
authorMichel Dänzer <mdaenzer@redhat.com>
Wed, 6 Nov 2019 18:58:19 +0000 (19:58 +0100)
committerMichel Dänzer <michel@daenzer.net>
Tue, 12 Nov 2019 09:18:31 +0000 (10:18 +0100)
This cuts the x86 artifacts zip file size in less than half.

Reviewed-by: Eric Anholt <eric@anholt.net>
.gitlab-ci/prepare-artifacts.sh

index 05a66177dd6960af19d7c89ce40fc5b410c4798c..2a661b5e3d77d4094737e5c08904f8fa4387946d 100755 (executable)
@@ -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