Files
openobserve/deploy/build/buildspec-test.yml
T
2023-02-02 09:03:11 +05:30

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