Skip to content

Fix CMake test setup #116

Fix CMake test setup

Fix CMake test setup #116

Workflow file for this run

name: Test library
on: [push, pull_request]
jobs:
test:
name: Build and test
runs-on: ubuntu-latest
strategy:
matrix:
compiler:
- gcc
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install dependencies
run: sudo apt-get install cmake
- name: Configure
run: cmake -B build
- name: Build
run: cmake --build build --parallel
- name: Test
run: ctest --test-dir build --output-on-failure