Skip to content

Fix Debian control file missing cmake Build-Depends #9

Fix Debian control file missing cmake Build-Depends

Fix Debian control file missing cmake Build-Depends #9

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
env:
# Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.)
BUILD_TYPE: Release
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Install Prerequisites
run: |
sudo apt update
sudo apt install -qqy libboost-dev libboost-filesystem-dev libsqlite3-dev libgtest-dev
- uses: actions/checkout@v3
- name: Configure CMake
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}}