Fix issue with incorrect database_size
when requesting a smaller shared_file_size
#84
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 & Test" | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
build-test: | |
name: Build & Test | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
os: ["debian:bullseye", "ubuntu:jammy"] | |
container: ${{matrix.os}} | |
steps: | |
- name: Install deps | |
run: | | |
apt-get update && apt-get upgrade -y | |
apt-get install -y build-essential cmake libboost-dev libboost-system-dev libboost-test-dev | |
- uses: actions/checkout@v3 | |
- name: Build & Test | |
run: | | |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release | |
cmake --build build -- -j $(nproc) | |
cd build && ctest --output-on-failure -j $(nproc) |