From 28153ef216ffe60576514b0d124a11c6a5136914 Mon Sep 17 00:00:00 2001 From: Bartosz Nowak Date: Wed, 27 Mar 2024 22:59:51 +0100 Subject: [PATCH] debug --- .github/workflows/proof_verification_tests.yml | 13 ++++++------- .github/workflows/tests.yml | 2 +- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/proof_verification_tests.yml b/.github/workflows/proof_verification_tests.yml index 0f8088985..8ecd46490 100644 --- a/.github/workflows/proof_verification_tests.yml +++ b/.github/workflows/proof_verification_tests.yml @@ -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 }} diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 06e906811..d2329f26b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -28,4 +28,4 @@ jobs: - name: Run tests run: ./scarb/target/debug/scarb test - working-directory: ${{ github.workspace }} \ No newline at end of file + working-directory: ${{ github.workspace }}/../ \ No newline at end of file