From 52f2be5cf24044bafa24cea2c5f25f1d6947f5fc Mon Sep 17 00:00:00 2001 From: Mac L Date: Tue, 13 Jun 2023 17:34:46 +1000 Subject: [PATCH] Add CI workflow for fallback simulator --- .github/workflows/test-suite.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/.github/workflows/test-suite.yml b/.github/workflows/test-suite.yml index 91a0b73453..2abff41835 100644 --- a/.github/workflows/test-suite.yml +++ b/.github/workflows/test-suite.yml @@ -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 \ No newline at end of file