Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,11 +90,14 @@ jobs:
working-directory: bindings/node
run: |
npm ci
# Generates binding.js/binding.d.ts and the host arm64 slice.
npx napi build --platform --release --js binding.js --dts binding.d.ts
# The package's own build script generates binding.js/binding.d.ts
# and the host arm64 slice; napi build --platform passes the host
# triple to cargo, so that dylib lands under target/<triple>/release
# (an explicit --target build skips generating the loader files).
npm run build
cargo build --release --target x86_64-apple-darwin
lipo -create -output llm-proxy.darwin-universal.node \
target/release/libllm_proxy_node.dylib \
target/aarch64-apple-darwin/release/libllm_proxy_node.dylib \
target/x86_64-apple-darwin/release/libllm_proxy_node.dylib
node --test test/

Expand Down
Loading