Skip to content
Merged
Show file tree
Hide file tree
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
18 changes: 15 additions & 3 deletions .github/workflows/bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,21 @@ jobs:
with:
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- uses: jetli/wasm-pack-action@v0.4.0
with:
version: latest
- name: Install wasm-pack
env:
WASM_PACK_VERSION: v0.15.0
run: |
set -euo pipefail
tmp="$(mktemp -d)"
archive="wasm-pack-${WASM_PACK_VERSION}-x86_64-unknown-linux-musl.tar.gz"
curl -fsSL \
"https://github.com/wasm-bindgen/wasm-pack/releases/download/${WASM_PACK_VERSION}/${archive}" \
-o "${tmp}/${archive}"
tar -xzf "${tmp}/${archive}" -C "${tmp}"
sudo install -m 0755 \
"${tmp}/wasm-pack-${WASM_PACK_VERSION}-x86_64-unknown-linux-musl/wasm-pack" \
/usr/local/bin/wasm-pack
wasm-pack --version
- name: Build WASM ESM package
run: make build-wasm
- uses: actions/upload-artifact@v4
Expand Down
18 changes: 15 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,21 @@ jobs:
with:
targets: wasm32-unknown-unknown
- uses: Swatinem/rust-cache@v2
- uses: jetli/wasm-pack-action@v0.4.0
with:
version: latest
- name: Install wasm-pack
env:
WASM_PACK_VERSION: v0.15.0
run: |
set -euo pipefail
tmp="$(mktemp -d)"
archive="wasm-pack-${WASM_PACK_VERSION}-x86_64-unknown-linux-musl.tar.gz"
curl -fsSL \
"https://github.com/wasm-bindgen/wasm-pack/releases/download/${WASM_PACK_VERSION}/${archive}" \
-o "${tmp}/${archive}"
tar -xzf "${tmp}/${archive}" -C "${tmp}"
sudo install -m 0755 \
"${tmp}/wasm-pack-${WASM_PACK_VERSION}-x86_64-unknown-linux-musl/wasm-pack" \
/usr/local/bin/wasm-pack
wasm-pack --version
- name: Build WASM ESM package
run: make build-wasm
- uses: actions/upload-artifact@v4
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ ruvector.db
.claude-flow/
target/
out/
# Local model assets for the el-chat test client (downloaded, not committed).
models/
crates/adapters/el-ffi/src/frb_generated.rs
# Claude Code local state (worktrees, settings.local.json)
.claude/
Loading
Loading