Extend rdbloader to support FD #76
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: CI | |
on: | |
push: | |
pull_request: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Install Prerequisites | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y cmake libssl-dev valgrind git | |
git clone https://git.cryptomilk.org/projects/cmocka.git | |
cd cmocka | |
mkdir build | |
cd build | |
cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local | |
make | |
ctest | |
sudo make install | |
# Install redis for tests against external Redis server | |
cd ~ | |
git clone --branch 7.2 https://github.com/redis/redis.git | |
cd redis | |
make | |
shell: bash | |
- name: Build and run project | |
run: | | |
export LD_LIBRARY_PATH=/usr/local/lib/ | |
export LIBRDB_REDIS_FOLDER=~/redis/src | |
make all valgrind | |
working-directory: ${{github.workspace}} |