mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 00:08:55 +00:00
22 lines
555 B
YAML
22 lines
555 B
YAML
version: 0.2
|
|
|
|
phases:
|
|
pre_build:
|
|
commands:
|
|
- apt-get update
|
|
- apt-get install -y bc
|
|
- apt-get install -y protobuf-compiler
|
|
- curl https://sh.rustup.rs -sSf | sh -s -- -y
|
|
- . "$HOME/.cargo/env"
|
|
- rustup toolchain install nightly-2023-01-26
|
|
- rustup toolchain list
|
|
- rustup default nightly-2023-01-26
|
|
- export RUSTFLAGS='-C target-cpu=native'
|
|
- cargo install cargo-llvm-cov
|
|
|
|
build:
|
|
commands:
|
|
- pwd
|
|
- cargo clippy -- -A clippy::uninlined_format_args
|
|
- ./coverage.sh
|