-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
halo2-lib-js + wasm devex improvements (#51)
Co-authored-by: Yu Jiang Tham <[email protected]>
- Loading branch information
Showing
50 changed files
with
1,349 additions
and
1,339 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
name: halo2-browser Tests | ||
|
||
on: | ||
push: | ||
paths: | ||
- "halo2-wasm/**" | ||
- "halo2-lib-js/**" | ||
|
||
jobs: | ||
halo2-wasm-tests: | ||
runs-on: ubuntu-latest-64core-256ram | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build halo2-wasm | ||
working-directory: halo2-wasm | ||
run: | | ||
rustup toolchain install nightly-2023-08-12-x86_64-unknown-linux-gnu | ||
rustup component add rust-src --toolchain nightly-2023-08-12-x86_64-unknown-linux-gnu | ||
cargo build --target=x86_64-unknown-linux-gnu --verbose | ||
- name: Test halo2-wasm | ||
working-directory: halo2-wasm | ||
run: cargo test --target=x86_64-unknown-linux-gnu | ||
halo2-lib-js-tests: | ||
runs-on: ubuntu-latest-64core-256ram | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 18 | ||
- name: Build halo2-wasm | ||
working-directory: halo2-wasm | ||
run: | | ||
rustup toolchain install nightly-2023-08-12-x86_64-unknown-linux-gnu | ||
rustup component add rust-src --toolchain nightly-2023-08-12-x86_64-unknown-linux-gnu | ||
cargo build --target=x86_64-unknown-linux-gnu --verbose | ||
- name: Build halo2-lib-js | ||
working-directory: halo2-lib-js | ||
run: | | ||
npm install | ||
npm add @axiom-crypto/[email protected] | ||
- name: Test halo2-lib-js/halo2-wasm VK equivalence | ||
working-directory: halo2-lib-js | ||
run: npm run test:vk | ||
- name: Test halo2-lib-js constant equivalence | ||
working-directory: halo2-lib-js | ||
run: npm run test:constant | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,4 +41,4 @@ public/kzg_bn256_19.bin | |
public/kzg_bn256_20.bin | ||
|
||
my.d.ts | ||
src/shared/docs/build.d.ts | ||
src/shared/build.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.