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:
Michel Dänzer 2019-11-06 19:58:19 +01:00 committed by Michel Dänzer
parent aebf43dcc1
commit af684753f3
1 changed files with 2 additions and 2 deletions

View File

@ -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