Skip to content

[misc] flush() member function of loggers is const #107

[misc] flush() member function of loggers is const

[misc] flush() member function of loggers is const #107

name: Core - Build and run Tests
on:
[push, pull_request]
jobs:
core_build_and_run_tests:
name: Core - Build and run Tests
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: ['ubuntu-22.04', 'ubuntu-24.04', 'macos-13', 'macos-latest', 'windows-latest']
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Install dependencies
if: runner.os == 'Linux'
run: |
sudo apt-get install cmake ninja-build libtbb-dev catch2
- name: Install dependencies
if: runner.os == 'macOS'
shell: bash
run: |
brew install ninja
- name: Install dependencies
if: runner.os == 'Windows'
run: |
choco upgrade ccache ninja
- name: Ccache
uses: hendrikmuhs/[email protected]
with:
key: core-${{ matrix.os }}-${{ github.ref }}
- name: Build
shell: bash
run: |
mkdir build
cd build
cmake -GNinja \
-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
-DCMAKE_BUILD_TYPE=Release \
..
ninja
- name: Run Tests
shell: bash
run: |
cd build
ctest --verbose