Skip to content

Cache: LWW convergence with timestamp ordering - part 2 (#11) #39

Cache: LWW convergence with timestamp ordering - part 2 (#11)

Cache: LWW convergence with timestamp ordering - part 2 (#11) #39

Workflow file for this run

name: CI (GCC)
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test:
name: GCC / ${{ matrix.build_type }}
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
build_type: [ Debug, Release ]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install dependencies
run: sudo apt-get update && sudo apt-get install -y pkg-config libzmq3-dev
- name: Cache CMake build
uses: actions/cache@v4
with:
path: build
key: ${{ runner.os }}-gcc-${{ matrix.build_type }}-${{ hashFiles('CMakeLists.txt') }}
restore-keys: |
${{ runner.os }}-gcc-${{ matrix.build_type }}-
- name: Configure
run: cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
- name: Build
run: cmake --build build --parallel
- name: Test
run: ctest --test-dir build --output-on-failure