Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Okm165 committed Mar 27, 2024
1 parent 96439d5 commit 28153ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/proof_verification_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,23 +34,22 @@ jobs:
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Checkout custom scarb
uses: actions/checkout@v3
with:
repository: fmkra/scarb
- name: Clone custom scarb
run: git clone https://github.com/fmkra/scarb.git
working-directory: ${{ github.workspace }}

- name: Build custom scarb
run: cargo build
working-directory: ${{ github.workspace }}/scarb

- name: Build project
run: ./../scarb/target/debug/scarb build --no-default-features --features=${{ matrix.layout }},keccak
run: ./scarb/target/debug/scarb build --no-default-features --features=${{ matrix.layout }},keccak
working-directory: ${{ github.workspace }}

- name: Test project
run: ./../scarb/target/debug/scarb test --no-default-features --features=${{ matrix.layout }},keccak
run: ./scarb/target/debug/scarb test --no-default-features --features=${{ matrix.layout }},keccak
working-directory: ${{ github.workspace }}

- name: Run verification
run: ./../cargo run --bin runner -- target/dev/cairo_verifier.sierra.json < examples/proofs/${{ matrix.layout }}/example_proof.json
run: cargo run --bin runner -- target/dev/cairo_verifier.sierra.json < examples/proofs/${{ matrix.layout }}/example_proof.json
working-directory: ${{ github.workspace }}
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@ jobs:

- name: Run tests
run: ./scarb/target/debug/scarb test
working-directory: ${{ github.workspace }}
working-directory: ${{ github.workspace }}/../

0 comments on commit 28153ef

Please sign in to comment.