-
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.
- Loading branch information
Showing
6 changed files
with
47 additions
and
19 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 |
---|---|---|
|
@@ -27,17 +27,20 @@ jobs: | |
- 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: Set all packages to local and build | ||
working-directory: ./ | ||
run: ./scripts/toggleLocal.sh ci | ||
# - 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 | ||
|
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "halo2-wasm" | ||
version = "0.2.12-alpha.0" | ||
version = "0.2.13-rc2.0" | ||
edition = "2021" | ||
|
||
[lib] | ||
|
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 |
---|---|---|
@@ -1,11 +1,18 @@ | ||
#!/bin/bash | ||
|
||
CI="" | ||
if [ "$1" = "ci" ]; then | ||
CI="ci" | ||
fi | ||
echo $CI | ||
|
||
./scripts/build.sh | ||
cd halo2-lib-js | ||
node ./scripts/toggleLocal.js | ||
node ./scripts/toggleLocal.js $CI | ||
pnpm install | ||
cd ../halo2-repl | ||
node ./scripts/toggleLocal.js | ||
node ./scripts/toggleLocal.js $CI | ||
pnpm install | ||
cd ../cli | ||
node ./scripts/toggleLocal.js | ||
node ./scripts/toggleLocal.js $CI | ||
pnpm install |