mirror of
https://github.com/huggingface/xet-core.git
synced 2026-06-04 13:30:29 +08:00
thin wasm (#411)
Re-adding a thin wasm crate for JS client development. checks build in ci job build_and_test-wasm only includes a wrapper over a chunker and function to compute xorb hash at the moment.
This commit is contained in:
9
.github/workflows/ci.yml
vendored
9
.github/workflows/ci.yml
vendored
@@ -70,10 +70,15 @@ jobs:
|
||||
with:
|
||||
targets: wasm32-unknown-unknown
|
||||
components: rust-src
|
||||
- name: Install wasm-bindgen-cli
|
||||
- name: Install wasm-bindgen-cli and wasm-pack
|
||||
run: |
|
||||
cargo install wasm-bindgen-cli
|
||||
cargo install wasm-bindgen-cli wasm-pack
|
||||
- name: Build hf_xet_thin_wasm
|
||||
working-directory: hf_xet_thin_wasm
|
||||
run: |
|
||||
./build_wasm.sh
|
||||
- name: Build hf_xet_wasm
|
||||
working-directory: hf_xet_wasm
|
||||
run: |
|
||||
./build_wasm.sh
|
||||
|
||||
|
||||
Reference in New Issue
Block a user