Adding intermediate polynomial new algorithm and new parser #58
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
name: Check PR | |
on: | |
pull_request: | |
branches: [main, develop] | |
jobs: | |
circuits-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.17.0' | |
check-latest: true | |
node-options: '--max-old-space-size=230000' | |
cache: "npm" | |
- name: "Install circom" | |
run: | | |
curl https://sh.rustup.rs -sSf -o rust.sh | |
bash -f rust.sh -y | |
git clone https://github.com/iden3/circom.git | |
cd circom | |
cargo build --release | |
cargo install --path circom | |
- name: Install dependencies | |
run: npm ci | |
- name: Circuit tests | |
run: npm run test:circuits | |
helpers-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.17.0' | |
check-latest: true | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Helpers tests | |
run: npm run test:helpers | |
all-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.17.0' | |
check-latest: true | |
cache: "npm" | |
- name: "Install circom" | |
run: | | |
curl https://sh.rustup.rs -sSf -o rust.sh | |
bash -f rust.sh -y | |
git clone https://github.com/iden3/circom.git | |
cd circom | |
cargo build --release | |
cargo install --path circom | |
- name: Install dependencies | |
run: npm ci | |
- name: Create tmp directory | |
run: mkdir tmp | |
- name: All prove | |
run: npm run test:all | |
- name: All prove using Linear Hash GPU | |
run: npm run test:all:gpu | |
stark-tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.17.0' | |
check-latest: true | |
cache: "npm" | |
- name: Install dependencies | |
run: npm ci | |
- name: Stark prover tests | |
run: npm run test:stark | |
c12-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.17.0' | |
check-latest: true | |
node-options: '--max-old-space-size=230000' | |
cache: "npm" | |
- name: "Install circom" | |
run: | | |
curl https://sh.rustup.rs -sSf -o rust.sh | |
bash -f rust.sh -y | |
git clone https://github.com/iden3/circom.git | |
cd circom | |
cargo build --release | |
cargo install --path circom | |
- name: Install dependencies | |
run: npm ci | |
- name: Create tmp directory | |
run: mkdir tmp | |
- name: Check C12 | |
run: npm run test:C12 | |
c12-custom-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.17.0' | |
check-latest: true | |
cache: "npm" | |
- name: "Install circom" | |
run: | | |
curl https://sh.rustup.rs -sSf -o rust.sh | |
bash -f rust.sh -y | |
git clone https://github.com/iden3/circom.git | |
cd circom | |
cargo build --release | |
cargo install --path circom | |
- name: Install dependencies | |
run: npm ci | |
- name: Create tmp directory | |
run: mkdir tmp | |
- name: Check C12 with arity 4 | |
run: npm run test:C12:custom | |
c18-test: | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '16.17.0' | |
check-latest: true | |
node-options: '--max-old-space-size=230000' | |
cache: "npm" | |
- name: "Install circom" | |
run: | | |
curl https://sh.rustup.rs -sSf -o rust.sh | |
bash -f rust.sh -y | |
git clone https://github.com/iden3/circom.git | |
cd circom | |
cargo build --release | |
cargo install --path circom | |
- name: Install dependencies | |
run: npm ci | |
- name: Create tmp directory | |
run: mkdir tmp | |
- name: Check C18 | |
run: npm run test:C18 |