6 # Delete unused bin and includes from artifacts to save space.
7 rm -rf install
/bin install
/include
9 # Strip the drivers in the artifacts to cut 80% of the artifacts size.
10 if [ -n "$CROSS" ]; then
11 STRIP
=`sed -n -E "s/strip\s*=\s*'(.*)'/\1/p" "$CROSS_FILE"`
12 if [ -z "$STRIP" ]; then
13 echo "Failed to find strip command in cross file"
19 find install -name \
*.so
-exec $STRIP {} \
;
21 # Test runs don't pull down the git tree, so put the dEQP helper
22 # script and associated bits there.
25 cp -Rp .gitlab-ci
/deqp
* artifacts
/
26 cp -Rp .gitlab-ci
/piglit artifacts
/
28 # Tar up the install dir so that symlinks and hardlinks aren't each
29 # packed separately in the zip file.
30 tar -cf artifacts
/install.
tar install