Skip to content

Cmake cleanup (#67) #66

Cmake cleanup (#67)

Cmake cleanup (#67) #66

Workflow file for this run

name: Build and Test
on: [push]
jobs:
build:
runs-on: ${{ matrix.runner }}
name: ${{ matrix.name }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}-${{ matrix.name }}
cancel-in-progress: true
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
include:
- name: Ubuntu
runner: ubuntu-latest
cmake_generator: "Unix Makefiles"
cmake_build_type: Debug
- name: Windows
runner: windows-latest
cmake_generator: "Visual Studio 17 2022"
cmake_build_type: Debug
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Configure
run: |
mkdir build
cd build
cmake -G "${{ matrix.cmake_generator }}" -DSTREAMING_PROTOCOL_POST_BUILD_UNITTEST=ON -DCMAKE_BUILD_TYPE=${{ matrix.cmake_build_type }} ..
- name: Build
working-directory: build
run: cmake --build .
- name: Test
working-directory: build
run: ctest --output-on-failure -C ${{ matrix.cmake_build_type }}