mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 01:23:57 -07:00
print libs
This commit is contained in:
parent
788fd03363
commit
a252f5623a
1 changed files with 3 additions and 2 deletions
5
.github/workflows/desktop-build.yml
vendored
5
.github/workflows/desktop-build.yml
vendored
|
|
@ -329,10 +329,11 @@ jobs:
|
|||
run: |
|
||||
export ARCH=$(uname -m)
|
||||
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 | \
|
||||
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
|
||||
if: steps.restore_qt.outputs.cache-hit != 'true'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue