Skip to content

feat: Add comprehensive documentation and examples #5

feat: Add comprehensive documentation and examples

feat: Add comprehensive documentation and examples #5

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
compiler: [gcc, clang]
build_type: [Debug, Release]
steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake ninja-build
- name: Configure CMake
run: |
cmake -B build -G Ninja \
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }} \
-DCMAKE_CXX_COMPILER=${{ matrix.compiler == 'gcc' && 'g++' || 'clang++' }}
- name: Build
run: cmake --build build
- name: Test
working-directory: build
run: ctest --output-on-failure
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B build -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build build
- name: Test
working-directory: build
run: ctest --output-on-failure
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B build
- name: Build
run: cmake --build build --config Release
- name: Test
working-directory: build
run: ctest -C Release --output-on-failure