Add CI workflow for fallback simulator

This commit is contained in:
Mac L
2023-06-13 17:34:46 +10:00
parent 71ee4cf2d8
commit 52f2be5cf2

View File

@@ -213,7 +213,22 @@ jobs:
run: rustup update stable
- name: Run the beacon chain sim without an eth1 connection
run: cargo run --release --bin simulator no-eth1-sim
syncing-simulator-ubuntu:
fallback-simulator-ubuntu:
name: fallback-simulator-ubuntu
runs-on: ubuntu-latest
needs: cargo-fmt
steps:
- uses: actions/checkout@v3
- name: Get latest version of stable Rust
run: rustup update stable
- name: Install Protoc
uses: arduino/setup-protoc@e52d9eb8f7b63115df1ac544a1376fdbf5a39612
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install anvil
run: cargo install --git https://github.com/foundry-rs/foundry --locked anvil
- name: Run the fallback simulator
run: cargo run --release --bin simulator fallback-sim fallback-simulator-ubuntu:
name: syncing-simulator-ubuntu
runs-on: ubuntu-latest
needs: cargo-fmt
@@ -355,4 +370,4 @@ jobs:
- name: Use Rust beta
run: rustup override set beta
- name: Run make
run: make
run: make