deps: remove unused libs #67
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Rust | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - develop | |
| pull_request: | |
| branches: | |
| - main | |
| - develop | |
| env: | |
| CARGO_TERM_COLOR: always | |
| jobs: | |
| build: | |
| runs-on: [ubuntu-latest] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: apt-get update | |
| run: sudo apt-get update | |
| - name: apt-get install | |
| run: | | |
| sudo apt-get install -y libssl3 pkg-config libssl-dev g++ build-essential ca-certificates librocksdb-dev libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev libzstd-dev libxml2-dev protobuf-compiler | |
| - name: Install Rust | |
| uses: actions-rust-lang/setup-rust-toolchain@v1 | |
| with: | |
| override: true | |
| components: clippy, rustfmt | |
| toolchain: 1.87.0 | |
| target: x86_64-unknown-linux-gnu | |
| rustflags: "" | |
| - name: Environment | |
| run: | | |
| gcc --version | |
| g++ --version | |
| rustc --version | |
| cargo --version | |
| - name: Check & Fmt & Clippy | |
| run: | | |
| cargo check | |
| cargo fmt --all -- --check | |
| cargo clippy | |
| - name: Test | |
| run: | | |
| cargo test --all |