Skip to content

Adding Catch2 flag for std::byte formatting #23

Adding Catch2 flag for std::byte formatting

Adding Catch2 flag for std::byte formatting #23

# Build, run unit tests
name: CMake build and run unit test matrix
on:
push:
branches:
- main
- develop
env:
BUILD_TYPE: Release
jobs:
build_matrix:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-14]
# os: [ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- name: checkout
uses: actions/checkout@v4
- name: create-build-dir
run: mkdir build
- name: configure-cmake
run: cd build && cmake -D SHARED_BUFFER_BUILD_TESTS:BOOL=ON -D SHARED_BUFFER_BUILD_EXAMPLES:BOOL=ON -D CATCH_CONFIG_CPP17_BYTE:BOOL=ON ..
- name: build
run: cd build && cmake --build . --config $BUILD_TYPE
- name: run-unit-test
run: cd build && ctest -C $BUILD_TYPE