Skip to content

Added log training info flag in the options #96

Added log training info flag in the options

Added log training info flag in the options #96

Workflow file for this run

name: C++ Tests CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build-and-test-windows:
runs-on: windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup Visual Studio
uses: microsoft/setup-msbuild@v2
with:
vs-version: '17.0'
- name: Install Ninja
run: choco install ninja
- name: Configure CMake
run: cmake -B tests/build -S tests -G "Ninja" -DCMAKE_BUILD_TYPE=Release
- name: Build
run: cmake --build ${{github.workspace}}/tests/build --config Release
- name: Run Tests
working-directory: ${{github.workspace}}/tests/build
run: ctest -C Release --output-on-failure
build-and-test-unix:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B ${{github.workspace}}/tests/build -S ${{github.workspace}}/tests
- name: Build
run: cmake --build ${{github.workspace}}/tests/build --config Release
- name: Run Tests
working-directory: ${{github.workspace}}/tests/build
run: ctest -C Release --output-on-failure
build-and-test-macos:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Configure CMake
run: cmake -B ${{github.workspace}}/tests/build -S ${{github.workspace}}/tests
- name: Build
run: cmake --build ${{github.workspace}}/tests/build --config Release
- name: Run Tests
working-directory: ${{github.workspace}}/tests/build
run: ctest -C Release --output-on-failure