mirror of
https://github.com/sigp/lighthouse.git
synced 2026-05-08 09:16:00 +00:00
For more info: https://stackoverflow.com/questions/15674064/how-to-fix-a-permission-denied-publickey-error-for-a-git-submodule-update-in-t
33 lines
1.3 KiB
YAML
33 lines
1.3 KiB
YAML
language: rust
|
|
git:
|
|
submodules: false
|
|
before_install:
|
|
- curl -OL https://github.com/google/protobuf/releases/download/v3.4.0/protoc-3.4.0-linux-x86_64.zip
|
|
- unzip protoc-3.4.0-linux-x86_64.zip -d protoc3
|
|
- sudo mv protoc3/bin/* /usr/local/bin/
|
|
- sudo mv protoc3/include/* /usr/local/include/
|
|
- sudo chown $USER /usr/local/bin/protoc
|
|
- sudo chown -R $USER /usr/local/include/google
|
|
- sed -i 's/git@github.com:/https:\/\/github.com\//' .gitmodules
|
|
- git submodule update --init --recursive
|
|
script:
|
|
- cargo build --verbose --all --manifest-path lighthouse-beacon/Cargo.toml
|
|
- cargo build --verbose --all --manifest-path lighthouse-validator/Cargo.toml
|
|
- cargo build --verbose --all --manifest-path lighthouse-libs/Cargo.toml
|
|
- cargo test --verbose --all --manifest-path lighthouse-beacon/Cargo.toml
|
|
- cargo test --verbose --all --manifest-path lighthouse-validator/Cargo.toml
|
|
- cargo test --verbose --all --manifest-path lighthouse-libs/Cargo.toml
|
|
- cargo fmt --all -- --check --manifest-path lighthouse-beacon/Cargo.toml
|
|
- cargo fmt --all -- --check --manifest-path lighthouse-validator/Cargo.toml
|
|
- cargo fmt --all -- --check --manifest-path lighthouse-libs/Cargo.toml
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
matrix:
|
|
allow_failures:
|
|
- rust: nightly
|
|
fast_finish: true
|
|
install:
|
|
- rustup component add rustfmt
|