Skip to content

Commit fee49cc

Browse files
committed
Fix archs
1 parent e74c193 commit fee49cc

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/CI.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ jobs:
121121
matrix:
122122
settings:
123123
- host: macos-latest
124-
target: x86_64-apple-darwin
124+
target: aarch64-apple-darwin
125125
- host: windows-latest
126126
target: x86_64-pc-windows-msvc
127127
node:
@@ -204,14 +204,16 @@ jobs:
204204
with:
205205
name: bindings-aarch64-apple-darwin
206206
path: .
207-
- name: Combine binaries
207+
- name: Combine binaries (lipo)
208208
run: |
209209
echo "Current directory contents:"
210210
ls -la
211211
echo "Looking for .node files:"
212212
find . -name "*.node" -type f
213-
echo "Running universal command:"
214-
yarn universal
213+
echo "Combining with lipo..."
214+
lipo -create -output ${APP_NAME}.darwin-universal.node ${APP_NAME}.darwin-x64.node ${APP_NAME}.darwin-arm64.node
215+
echo "Result:"
216+
ls -la ${APP_NAME}.darwin-universal.node
215217
- name: Upload artifact
216218
uses: actions/upload-artifact@v4
217219
with:

0 commit comments

Comments
 (0)