fork/rust_serialization_benchmark
git clone https://git.julia.blue/fork/rust_serialization_benchmark
23ed1ad
master
1name : build 2 3on : 4pull_request : 5branches : [ master ] 6 7env : 8CI : true 9 10jobs : 11build : 12name : build 13strategy : 14matrix : 15platform : [ ubuntu-latest ] 16 17runs-on : ${{ matrix.platform }} 18steps : 19- uses : actions/checkout@v3 20with : 21fetch-depth : 1 22submodules : true 23 24- uses : actions-rs/toolchain@v1 25with : 26toolchain : nightly 27override : true 28components : rust-src, rustfmt 29 30- uses : Swatinem/rust-cache@v2 31 32- name : check formatting 33shell : bash 34run : | 35 36cargo fmt --check 37 38- name : build 39shell : bash 40run : | 41 42 wget "https://github.com/protocolbuffers/protobuf/releases/download/v23.3/protoc-23.3-linux-x86_64.zip" -O protoc.zip 43 unzip protoc.zip 44 chmod +x bin/protoc 45 mv bin/protoc /usr/local/bin 46 47 wget "https://github.com/google/flatbuffers/releases/download/v23.5.26/Linux.flatc.binary.clang++-12.zip" -O flatbuffers 48 unzip flatbuffers 49 chmod +x flatc 50 mv flatc /usr/local/bin 51 52 sudo apt-get install -y capnproto libprotobuf-dev 53 54 cargo build --benches