Skip to content

Commit

Permalink
include
Browse files Browse the repository at this point in the history
  • Loading branch information
danemadsen committed Aug 1, 2024
1 parent 5813505 commit 783195f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 6 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/build-android.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,6 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: android-arm64-v8a
path: lib/
path: |
lib/
include/
4 changes: 3 additions & 1 deletion .github/workflows/build-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,6 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: linux-x86_64
path: lib/
path: |
lib/
include/
11 changes: 8 additions & 3 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: ${{ matrix.os }}
path: lib/
path: |
lib/
include/
create-universal-dylibs:
needs: build
Expand All @@ -65,11 +67,14 @@ jobs:
- name: Create Universal dylibs
run: |
mkdir -p universal/lib
for dylib in macos-13/*.dylib; do
for dylib in macos-13/lib/*.dylib; do
dylib_name=$(basename $dylib)
lipo -create macos-13/$dylib_name macos-14/$dylib_name -output universal/$dylib_name
lipo -create macos-13/lib/$dylib_name macos-14/lib/$dylib_name -output universal/lib/$dylib_name
done
- name: Add Include Directory
run: cp -r macos-13/include universal/include

- name: Upload Universal dylibs
uses: actions/upload-artifact@v3
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,6 @@ jobs:
uses: actions/upload-artifact@v3
with:
name: windows-x86_64
path: lib/
path: |
lib/
include/

0 comments on commit 783195f

Please sign in to comment.