Skip to content

CMake support

CMake support #7

Workflow file for this run

name: CMake Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
strategy:
fail-fast: false
matrix:
runs-on: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.runs-on }}
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
fetch-depth: 0
- uses: lukka/get-cmake@latest
with:
cmakeVersion: latest
ninjaVersion: latest
- name: Build Summary ${{ matrix.targets }}
run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DTESTS_BUILD=ON -DEXAMPLES_BUILD=ON; cmake --build build --parallel