Add zstd time column to benchmark. #110
Workflow file for this run
This file contains 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: build | |
on: | |
pull_request: | |
branches: [ master ] | |
env: | |
CI: true | |
jobs: | |
build: | |
name: build | |
strategy: | |
matrix: | |
platform: [ubuntu-latest] | |
runs-on: ${{ matrix.platform }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 1 | |
submodules: true | |
- uses: actions-rs/toolchain@v1 | |
with: | |
toolchain: nightly-2024-02-01 | |
override: true | |
components: rust-src, rustfmt | |
- uses: Swatinem/rust-cache@v2 | |
- name: check formatting | |
shell: bash | |
run: | | |
cargo fmt --check | |
- name: build | |
shell: bash | |
run: | | |
wget "https://github.com/protocolbuffers/protobuf/releases/download/v23.3/protoc-23.3-linux-x86_64.zip" -O protoc.zip | |
unzip protoc.zip | |
chmod +x bin/protoc | |
mv bin/protoc /usr/local/bin | |
wget "https://github.com/google/flatbuffers/releases/download/v23.5.26/Linux.flatc.binary.clang++-12.zip" -O flatbuffers | |
unzip flatbuffers | |
chmod +x flatc | |
mv flatc /usr/local/bin | |
sudo apt-get install -y capnproto libprotobuf-dev | |
cargo build --benches |