split wasm filter (#186)

* split wasm filter

* fix int and unit tests

* rename public_types => common and move common code there

* rename

* fix int test
This commit is contained in:
Adil Hafeez 2024-10-16 14:20:26 -07:00 committed by GitHub
parent b1746b38b4
commit 3bd2ffe9fb
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
41 changed files with 5755 additions and 351 deletions

View file

@ -12,13 +12,24 @@ jobs:
steps:
- name: Setup | Checkout
uses: actions/checkout@v4
- name: Setup | Rust
run: rustup toolchain install stable --profile minimal
- name: Setup | Install wasm toolchain
run: rustup target add wasm32-wasi
- name: Build wasm module
run: cd arch && cargo build --release --target=wasm32-wasi
- name: Run Tests on arch
run: cd arch && cargo test
- name: Run Tests on public_types
run: cd public_types && cargo test
- name: Build wasm module for prompt_gateway
run: cd crates/prompt_gateway && cargo build --release --target=wasm32-wasi
- name: Run Tests on common crate
run: cd crates/common && cargo test
- name: Run Tests on prompt_gateway crate
run: cd crates/prompt_gateway && cargo test
- name: Build wasm module for llm_gateway
run: cd crates/llm_gateway && cargo build --release --target=wasm32-wasi
- name: Run Tests on llm_gateway crate
run: cd crates/llm_gateway && cargo test