Skip to content

feat(ci): run tests #135

feat(ci): run tests

feat(ci): run tests #135

Workflow file for this run

name: CI
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
run-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build examples
run: make -j4
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTING=ON
- name: Build tests
run: cmake --build build --parallel 4
- name: Run tests
run: ctest --test-dir build --output-on-failure