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 1e9d4bc commit e3b3490
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/proof_verification_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,17 @@ jobs:
repository: fmkra/scarb

- name: Build custom scarb
run: cd scarb && cargo build && cd ../
run: cd scarb && cargo build
working-directory: scarb

- name: Build project
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
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
working-directory: $GITHUB_WORKSPACE
10 changes: 9 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@ jobs:

- name: Format code
run: scarb fmt --check

- name: Checkout custom scarb
uses: actions/checkout@v3
with:
repository: fmkra/scarb

- name: Build custom scarb
run: cd scarb && cargo build && cd ../

- name: Run tests
run: scarb test
run: ./scarb/target/debug/scarb test

0 comments on commit e3b3490

Please sign in to comment.