Add simulator to CI (#723)

* Add simulator to CI

* Install ganache before running sim
This commit is contained in:
Paul Hauner 2019-12-17 08:48:20 +11:00 committed by GitHub
parent 0694d1d0ec
commit 5e4cf2f3da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -49,3 +49,12 @@ jobs:
- uses: actions/checkout@v1
- name: Build the root Dockerfile
run: docker build .
simulator-ubuntu:
runs-on: ubuntu-latest
needs: cargo-fmt
steps:
- uses: actions/checkout@v1
- name: Install ganache-cli
run: sudo npm install -g ganache-cli
- name: Run the beacon chain sim
run: cargo run --release --bin beacon_chain_sim