mirror of
https://github.com/sigp/lighthouse.git
synced 2026-03-14 18:32:42 +00:00
Update docker file, use makefile in CI
This commit is contained in:
@@ -10,7 +10,7 @@ jobs:
|
||||
- name: Get latest version of stable Rust
|
||||
run: rustup update stable
|
||||
- name: Check formatting with cargo fmt
|
||||
run: cargo fmt --all -- --check
|
||||
run: make cargo-fmt
|
||||
release-tests-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
needs: cargo-fmt
|
||||
@@ -19,7 +19,7 @@ jobs:
|
||||
- name: Install ganache-cli
|
||||
run: sudo npm install -g ganache-cli
|
||||
- name: Run tests in release
|
||||
run: cargo test --release --all
|
||||
run: make test-release
|
||||
debug-tests-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
needs: cargo-fmt
|
||||
@@ -34,9 +34,19 @@ jobs:
|
||||
needs: cargo-fmt
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Download test vectors
|
||||
run: make make-ef-tests
|
||||
- name: Run eth2.0-spec-tests without fake_crypto
|
||||
run: cargo test --manifest-path tests/ef_tests/Cargo.toml --release --features ef_tests
|
||||
- name: Run eth2.0-spec-tests with fake_crypto
|
||||
run: cargo test --manifest-path tests/ef_tests/Cargo.toml --release --features ef_tests,fake_crypto
|
||||
- name: Run eth2.0-spec-tests with and without fake_crypto
|
||||
run: make test-ef
|
||||
dockerfile-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
needs: cargo-fmt
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build the root Dockerfile
|
||||
run: docker build .
|
||||
install-ubuntu:
|
||||
runs-on: ubuntu-latest
|
||||
needs: cargo-fmt
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build using the root Makefile
|
||||
run: make
|
||||
Reference in New Issue
Block a user