Added Fq2 functions and related changes (Only the file groups.cairo) #7
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: Plonk Unit Tests | |
on: | |
push: | |
branches: | |
- main | |
- 'dev/*' | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build_and_push: | |
name: Build and Push | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Install Foundry | |
run: | | |
curl -L https://foundry.paradigm.xyz | bash | |
export PATH="$HOME/.config/.foundry/bin:$PATH" | |
foundryup | |
- name: Install scarb 2.8.2 | |
run: | | |
curl --proto '=https' --tlsv1.2 -sSf https://docs.swmansion.com/scarb/install.sh | sh -s -- -v 2.8.2 | |
- name: Install Starknet Foundry | |
run: | | |
curl -L https://raw.githubusercontent.com/foundry-rs/starknet-foundry/master/scripts/install.sh | bash | |
snfoundryup | |
- name: Set PATH environment variable | |
run: echo "PATH=$HOME/.local/bin:$PATH" >> $GITHUB_ENV | |
- name: Check versions | |
run: | | |
scarb --version | |
snforge --version | |
- name: Build contract with scarb | |
run: | | |
cd plonk-verifier | |
scarb build | |
- name: Run tests with snforge | |
run: | | |
cd plonk-verifier | |
snforge test --detailed-resources --max-n-steps 30000000 |