Skip to content

FIX target for kubernetes #78

FIX target for kubernetes

FIX target for kubernetes #78

Workflow file for this run

name: Build
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
BUILD_TYPE: Debug
jobs:
cmake-build:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: ["gcc", "clang"]
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libczmq-dev libpfm4-dev libjson-c-dev libmongoc-dev
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_COMPILER=${{matrix.compiler}} -DCMAKE_C_CLANG_TIDY=clang-tidy
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}