Skip to content

CI tests

CI tests #8

Workflow file for this run

name: CI
on:
push:
pull_request:
jobs:
build-and-test:
name: ${{ matrix.os }}
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-14, windows-2022]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install libomp (macOS)
if: runner.os == 'macOS'
run: brew install libomp
- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build --config Release --parallel
- name: Test
run: ctest --test-dir build --build-config Release --output-on-failure