mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-26 00:05:18 +00:00
3a766030a3
* add workflow for CI on PRs to master or release branch, and every push to master * sprint demo
16 lines
356 B
Bash
Executable File
16 lines
356 B
Bash
Executable File
#!/bin/bash
|
|
set -x
|
|
|
|
# install build dependencies
|
|
sudo apt-get install -y libgflags-dev libsnappy-dev zlib1g-dev libbz2-dev liblz4-dev libzstd-dev
|
|
|
|
# get rocksdb sources
|
|
git clone https://github.com/facebook/rocksdb.git /home/runner/rocksdb
|
|
|
|
cd /home/runner/rocksdb
|
|
|
|
git checkout v7.7.3
|
|
|
|
# install rocksdb locally
|
|
sudo make -j $(nproc --all) install-shared
|