Skip to content

Commit c4918ed

Browse files
committed
chore: Add combined mac dylib creation artifact
1 parent d156c84 commit c4918ed

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

.github/workflows/build.yaml

+21-1
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,24 @@ jobs:
4646
with:
4747
name: lib-${{ matrix.postfix }}
4848
path: ./artifacts
49-
49+
50+
assemble_mac_dylib:
51+
runs-on: macos-latest
52+
needs: build
53+
steps:
54+
- uses: actions/download-artifact@v4
55+
with:
56+
name: lib-macos-x64
57+
- uses: actions/download-artifact@v4
58+
with:
59+
name: lib-macos-arm64
60+
- run: |
61+
mkdir -p artifacts/bin
62+
mkdir -p artifacts/include
63+
lipo lib-macos-x64/bin/libdart_dll.dylib lib-macos-arm64/bin/libdart_dll.dylib -output artifacts/bin/libdart_dll.dylib -create
64+
cp -r lib-macos-arm64/include/* artifacts/include
65+
- name: 'Upload Artifact'
66+
uses: actions/upload-artifact@v3
67+
with:
68+
name: lib-macos
69+
path: ./artifacts

0 commit comments

Comments
 (0)