print libs

This commit is contained in:
Bruno Alexandre Rosa 2025-11-06 16:37:32 -03:00
parent 788fd03363
commit a252f5623a

View file

@ -329,10 +329,11 @@ jobs:
run: | run: |
export ARCH=$(uname -m) export ARCH=$(uname -m)
export NPROC=$(sysctl -n hw.ncpu) export NPROC=$(sysctl -n hw.ncpu)
echo "Thinning Qt libraries to $ARCH using $NPROC cores" echo "::group::Thinning Qt libraries to $ARCH using $NPROC cores"
find $RUNNER_WORKSPACE/Qt -type f -print0 | \ find $RUNNER_WORKSPACE/Qt -type f -print0 | \
xargs -0 -n1 -P "$NPROC" sh -c \ xargs -0 -n1 -P "$NPROC" sh -c \
'file -b --mime-type "$0" | grep -q "application/x-mach-binary" && lipo "$0" -thin "$ARCH" -output "$0" || true' 'file -b --mime-type "$0" | grep -q "application/x-mach-binary" && echo "Processing $0" && lipo "$0" -thin "$ARCH" -output "$0" || true'
echo "::endgroup::"
- name: Cache thin Qt libraries - name: Cache thin Qt libraries
if: steps.restore_qt.outputs.cache-hit != 'true' if: steps.restore_qt.outputs.cache-hit != 'true'