Skip to content

Commit

Permalink
win
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 27, 2024
1 parent 164fb51 commit fa81958
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,27 +56,24 @@ jobs:
needs: build
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v2

- name: Download x86_64 Build Artifacts
uses: actions/download-artifact@v3
with:
name: build-x86_64
path: build-x86_64
name: build-macos-x86_64
path: build-macos-x86_64

- name: Download arm64 Build Artifacts
uses: actions/download-artifact@v3
with:
name: build-arm64
path: build-arm64
name: build-macos-arm64
path: build-macos-arm64

- name: Create Universal dylibs
run: |
mkdir -p universal/lib
for dylib in build-x86_64/*.dylib; do
for dylib in build-macos-x86_64/*.dylib; do
dylib_name=$(basename $dylib)
lipo -create build-x86_64/$dylib_name build-arm64/$dylib_name -output universal/$dylib_name
lipo -create build-macos-x86_64/$dylib_name build-macos-arm64/$dylib_name -output universal/$dylib_name
done
- name: Upload Universal dylibs
Expand Down

0 comments on commit fa81958

Please sign in to comment.