Adjust available space check in AgingScenario to account for block size #295
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: Fedora | |
on: [ push , pull_request ] | |
env: | |
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
steps: | |
- name: install_dependencies | |
run: | | |
dnf install -y cmake gcc-c++ make spdlog-devel git cxxopts-devel json-devel eigen3-devel | |
- uses: actions/checkout@v4 | |
with: | |
fetch-tags: "true" | |
fetch-depth: 0 | |
- uses: actions/cache@v3 | |
with: | |
path: "**/cpm_modules" | |
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | |
- name: git safe | |
run: | | |
git config --global --add safe.directory /__w/Filestorm/Filestorm | |
- name: configure | |
run: cmake -S . -Bbuild -DCMAKE_BUILD_TYPE=Debug | |
- name: build | |
run: cmake --build build -j4 | |
- name: run | |
run: ./build/filestorm -h | |
tests: | |
runs-on: ubuntu-latest | |
container: fedora:latest | |
steps: | |
- name: install_dependencies | |
run: | | |
dnf install -y cmake gcc-c++ make spdlog-devel git cxxopts-devel json-devel eigen3-devel | |
- uses: actions/checkout@v4 | |
with: | |
fetch-tags: "true" | |
fetch-depth: 0 | |
- uses: actions/cache@v3 | |
with: | |
path: "**/cpm_modules" | |
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }} | |
- name: git safe | |
run: | | |
git config --global --add safe.directory /__w/Filestorm/Filestorm | |
- name: configure | |
run: make tests | |
trigger-copr-build: | |
needs: [build, tests] | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' && success() | |
steps: | |
- name: Trigger COPR build | |
run: | | |
curl -X POST -H 'Content-Type: application/json' ${{ secrets.COPR_WEBHOOK_URL }} | |
trigger-copr-build-in-libs: | |
needs: [build, tests] | |
runs-on: ubuntu-latest | |
if: github.ref == 'refs/heads/master' && success() | |
steps: | |
- name: Trigger COPR build | |
run: | | |
curl -X POST -H 'Content-Type: application/json' ${{ secrets.COPR_WEBHOOK_URL_BUILDIN }} | |