Skip to content

add inject keyed service ability #297

add inject keyed service ability

add inject keyed service ability #297

Workflow file for this run

name: DevCI
on:
push:
branches: [ "dev" ]
paths-ignore:
- "Docs/**"
- ".readthedocs.yaml"
- "README.md"
jobs:
test:
timeout-minutes: 30
strategy:
fail-fast: false
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
library_type: [ HeaderOnly, Static, Shared ]
std: [ 17, 20, 23 ]
build_type: [ Release ]
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v4
- name: Create Build Environment
run: cmake -E make_directory ${{runner.workspace}}/build
- name: Configure
run: cmake -B ${{runner.workspace}}/build -DCMAKE_BUILD_TYPE=${{matrix.build_type}} -DCMAKE_CXX_STANDARD=${{matrix.std}} -D_7BIT_DI_LIBRARY_TYPE=${{matrix.library_type}} -D_7BIT_DI_BUILD_ALL_TESTS=ON -D_7BIT_DI_BUILD_EXAMPLES=ON
- name: Build
run: cmake --build ${{runner.workspace}}/build --config ${{matrix.build_type}} -j
- name: Test
working-directory: ${{runner.workspace}}/build
run: ctest -C ${{matrix.build_type}} --output-on-failure