Skip to content

Commit

Permalink
fix: Update CI package to test for WASM build to frontends
Browse files Browse the repository at this point in the history
  • Loading branch information
CPerezz committed Oct 21, 2024
1 parent 9946b86 commit 63f599e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,12 @@ jobs:
uses: actions-rs/cargo@v1
with:
command: build
args: -p folding-schemes --target ${{ matrix.target }} --features circom-browser
args: -p frontends --no-default-features --target ${{ matrix.target }} --features "circom-browser, parallel"
- name: Wasm-compat folding-schemes build
uses: actions-rs/cargo@v1
with:
command: build
args: -p folding-schemes --no-default-features --target ${{ matrix.target }} --features "default,light-test"
- name: Run wasm-compat script
run: |
chmod +x .github/scripts/wasm-target-test-build.sh
Expand Down Expand Up @@ -156,13 +161,13 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
feature_set: [basic, circom-browser]
feature_set: [basic, wasm]
include:
- feature_set: basic
features: --features default,light-test
# We only want to test `folding-schemes` package with `circom-browser` feature.
- feature_set: circom-browser
features: -p folding-schemes --features circom-browser,parallel --target wasm32-unknown-unknown
# We only want to test `frontends` package with `wasm` feature.
- feature_set: wasm
features: -p frontends --features circom-browser,parallel --target wasm32-unknown-unknown
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand Down

0 comments on commit 63f599e

Please sign in to comment.