Skip to content

Add initial project structure with CMake configuration, Clang format … #4

Add initial project structure with CMake configuration, Clang format …

Add initial project structure with CMake configuration, Clang format … #4

Workflow file for this run

name: C++ Tests
on:
push:
branches: [ main, master ]
pull_request:
jobs:
cpp-tests:
name: C++ tests (msvc)
runs-on: windows-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup CMake >= 3.30
uses: jwlawson/actions-setup-cmake@v2
with:
cmake-version: "3.31.x"
- name: Configure CMake (Release)
run: |
cmake -S . -B build -G "Visual Studio 17 2022" -A x64
- name: Build (Release)
run: |
cmake --build build --config Release
- name: Run C++ unit/integration tests
run: |
ctest --test-dir build -C Release --output-on-failure