Skip to content

Commit

Permalink
chore: Add combined mac dylib creation artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzybinary committed Aug 30, 2024
1 parent d156c84 commit 7a8c113
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,24 @@ jobs:
with:
name: lib-${{ matrix.postfix }}
path: ./artifacts


assemble_mac_dylib:
runs-on: macos-latest
needs: build
steps:
- uses: actions/download-artifact@4
with:
name: lib-macos-x64
- uses: actions/download-artifact@4
with:
name: lib-macos-arm64
- run: |
mkdir -p artifacts/bin
mkdir -p artifacts/include
lipo lib-macos-x64/bin/libdart_dll.dylib lib-macos-arm64/bin/libdart_dll.dylib -output artifacts/bin/libdart_dll.dylib -create
cp -r lib-macos-arm64/include/* artifacts/include
- name: 'Upload Artifact'
uses: actions/upload-artifact@v3
with:
name: lib-macos
path: ./artifacts

0 comments on commit 7a8c113

Please sign in to comment.