Skip to content

Commit

Permalink
run replay in release
Browse files Browse the repository at this point in the history
  • Loading branch information
FrancoGiachetta committed Oct 23, 2024
1 parent afc6568 commit f68bc55
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/starknet-blocks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ jobs:
- name: Build runtime
if: ${{ matrix.runner == 'native' }}
run: |
make runtime-ci
make runtime
cargo update
echo "CAIRO_NATIVE_RUNTIME_LIBRARY=$(pwd)/libcairo_native_runtime.a" > $GITHUB_ENV
Expand All @@ -89,19 +89,20 @@ jobs:
run: |
cd replay
sed -r -i 's/cairo_native.*rev.*[0-9a-z]+./cairo_native.git", rev = "${{ github.event.pull_request.head.sha }}"/' Cargo.toml
cargo build --release --bin replay
- name: Run Blocks Native
if: ${{ matrix.runner == 'native' }}
run: |
cd replay
cargo run --features state_dump block mainnet ${{ matrix.block }}
cargo build --release --bin replay
cargo run --release --features state_dump block mainnet ${{ matrix.block }}
- name: Run Blocks VM
if: ${{ matrix.runner == 'vm' }}
run: |
cd replay
cargo run --features "state_dump,only_cairo_vm" block mainnet ${{ matrix.block }}
cargo build --release --bin replay
cargo run --release --features "state_dump,only_cairo_vm" block mainnet ${{ matrix.block }}
- name: Upload dumps
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit f68bc55

Please sign in to comment.