mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-09 01:23:57 -07:00
ci: strip fat qt binaries
This commit is contained in:
parent
f24c36d6b1
commit
388a4e74ef
1 changed files with 6 additions and 1 deletions
7
.github/workflows/desktop-build.yml
vendored
7
.github/workflows/desktop-build.yml
vendored
|
|
@ -308,11 +308,16 @@ jobs:
|
|||
- name: Install Qt ${{env.QT_VERSION}}
|
||||
uses: jurplel/install-qt-action@v4
|
||||
with:
|
||||
cache: false # qt caches take too much space for macOS (1.1Gi)
|
||||
cache: true # qt caches take too much space for macOS (1.1Gi)
|
||||
version: ${{env.QT_VERSION}}
|
||||
arch: ${{env.QT_ARCH}}
|
||||
modules: ${{env.QT_MODULES}}
|
||||
|
||||
- name: Strip arch from Qt libraries
|
||||
run: |
|
||||
echo "Stripping arch from Qt libraries"
|
||||
find $RUNNER_WORKSPACE/Qt -type f -exec sh -c 'file -b --mime-type "$0" | grep -q "application/x-mach-binary"' {} \; -exec lipo {} -thin $(uname -m) -output {} \;
|
||||
|
||||
- name: Setup vcpkg cache
|
||||
id: vcpkg-cache
|
||||
uses: TAServers/vcpkg-cache@v3
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue