Skip to content

Run unwind on push

Run unwind on push #1

Workflow file for this run

name: Unwinds tests
on:
pull_request:
branches:
- zkevm
- zkevm-2.60
push:
branches:
- zkevm
- zkevm-2.60
workflow_dispatch:
jobs:
fixing-unwinds-tests:
runs-on: ubuntu-20.04
steps:
- name: Checkout cdk-erigon
uses: actions/checkout@v4
with:
path: cdk-erigon
- uses: actions/setup-go@v4
with:
go-version: '1.21'
- name: Install dependencies on Linux
if: runner.os == 'Linux'
run: sudo apt update && sudo apt install build-essential
- name: Build
run: make BUILD_TAGS=nosqlite,noboltdb,nosilkworm all
- name: Build cdk-erigon
run: |
cd ./cdk-erigon
make cdk-erigon
- name: Prepare configs
run: |
cd ./cdk-erigon
cp ./zk/tests/unwinds/config/dynamic-integration8.yaml ./
cp ./zk/tests/unwinds/config/dynamic-integration-allocs.json ./
cp ./zk/tests/unwinds/config/dynamic-integration-chainspec.json ./
cp ./zk/tests/unwinds/config/dynamic-integration-conf.json ./
- name: Prepare data stream
run: |
cd ./cdk-erigon/zk/tests/unwinds/datastream
tar -xzf ./datastream-net8-upto-11318-101.zip ./
- name: Run tests
run: |
cd ./cdk-erigon
chmod +x ./zk/tests/unwinds/unwind.sh
./zk/tests/unwinds/unwind.sh