Skip to content

chore: add C++ API to readme #7

chore: add C++ API to readme

chore: add C++ API to readme #7

Workflow file for this run

name: Run tests
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
BUILD_TYPE: Debug
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Configure CMake
working-directory: ./test
run: cmake -B build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}}
- name: Build
run: cmake --build ${{github.workspace}}/test/build --config ${{env.BUILD_TYPE}}
- name: Test
working-directory: ./test/build
run: ctest -C ${{env.BUILD_TYPE}}