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>
This commit is contained in:
parent
aebf43dcc1
commit
af684753f3
|
@ -3,8 +3,8 @@
|
||||||
set -e
|
set -e
|
||||||
set -o xtrace
|
set -o xtrace
|
||||||
|
|
||||||
# Delete 2MB of includes from artifacts.
|
# Delete unused bin and includes from artifacts to save space.
|
||||||
rm -rf install/include
|
rm -rf install/bin install/include
|
||||||
|
|
||||||
# Strip the drivers in the artifacts to cut 80% of the artifacts size.
|
# Strip the drivers in the artifacts to cut 80% of the artifacts size.
|
||||||
if [ -n "$CROSS" ]; then
|
if [ -n "$CROSS" ]; then
|
||||||
|
|
Loading…
Reference in New Issue