add tikv-jemallocator #446
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: Check Set-Up & Build | |
on: | |
push: | |
branches: [master, dev] | |
pull_request: | |
branches: [master, dev] | |
workflow_dispatch: | |
jobs: | |
check: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install linux dependencies | |
run: sudo apt-get install -y clang libssl-dev llvm libudev-dev protobuf-compiler | |
- name: Install Rust | |
run: | | |
rustup update stable --no-self-update | |
rustup target add wasm32-unknown-unknown | |
- uses: Swatinem/rust-cache@v2 | |
- name: Unit-Test | |
run: cargo test --release | |
- name: Check Build | |
run: cargo check --release | |
- name: Check Build for Benchmarking | |
run: | | |
mkdir node # Create the "node" directory | |
pushd node | |
cargo check --features=runtime-benchmarks --release | |
popd # Return to the previous directory |