fix: add libzstd-dev to edriver ci deps #3
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
| # driver ci build | |
| name: CI - edriver | |
| on: | |
| push: | |
| branches: ["**"] | |
| paths: | |
| - "plugins/edriver/**" | |
| - "SDK/rust/**" | |
| - ".github/workflows/ci-edriver.yaml" | |
| pull_request: | |
| paths: | |
| - "plugins/edriver/**" | |
| - "SDK/rust/**" | |
| - ".github/workflows/ci-edriver.yaml" | |
| jobs: | |
| edriver: | |
| name: "Build and test edriver" | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| steps: | |
| - name: "Git checkout" | |
| uses: actions/checkout@v4 | |
| with: | |
| submodules: true | |
| - name: Install Rust toolchain | |
| uses: dtolnay/rust-toolchain@stable | |
| - name: Cache cargo registry & build | |
| uses: actions/cache@v4 | |
| with: | |
| path: | | |
| ~/.cargo/registry | |
| ~/.cargo/git | |
| plugins/edriver/target | |
| key: ${{ runner.os }}-cargo-edriver-${{ hashFiles('plugins/edriver/Cargo.lock') }} | |
| restore-keys: ${{ runner.os }}-cargo-edriver- | |
| - name: Install build dependencies | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y --no-install-recommends build-essential pkgconf libelf-dev libzstd-dev llvm-14 clang-14 protobuf-compiler | |
| for tool in clang llc llvm-strip | |
| do | |
| sudo rm -f /usr/bin/$tool | |
| sudo ln -s /usr/bin/${tool}-14 /usr/bin/$tool | |
| done | |
| - name: Build | |
| run: | | |
| cd plugins/edriver | |
| make build | |
| - name: Test | |
| run: | | |
| cd plugins/edriver | |
| make test |