Skip to content

fix cmake version

fix cmake version #31

name: C++ Unit Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build_and_test:
runs-on: [self-hosted, linux, x64]
steps:
- uses: lukka/get-cmake@latest
with:
useLocalCache: true
- uses: actions/checkout@v4
- name: Configure
run: cmake --preset default
- name: Build tests
run: cmake --build --preset testing
- name: Test
run: ctest --preset testing
- name: Build release
run: cmake --build --preset release