Skip to content

Commit

Permalink
macos
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Jul 27, 2024
1 parent 71fd96e commit d90474e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: build-macos-${{ matrix.arch }}
path: build/
path: lib/

create-universal-dylibs:
needs: build
Expand All @@ -74,13 +74,13 @@ jobs:
- name: Create Universal dylibs
run: |
mkdir -p universal/lib
for dylib in build-x86_64/lib/*.dylib; do
for dylib in build-x86_64/*.dylib; do
dylib_name=$(basename $dylib)
lipo -create build-x86_64/lib/$dylib_name build-arm64/lib/$dylib_name -output universal/lib/$dylib_name
lipo -create build-x86_64/$dylib_name build-arm64/$dylib_name -output universal/$dylib_name
done
- name: Upload Universal dylibs
uses: actions/upload-artifact@v3
with:
name: universal-dylibs
path: universal/lib/
path: universal/

0 comments on commit d90474e

Please sign in to comment.