Add batch callbacks to process a chunk of data at a time. #119
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Tests | |
| on: | |
| push: | |
| branches: | |
| - 'master' | |
| - 'releases/**' | |
| pull_request: | |
| branches: | |
| - master | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| test: | |
| name: Test ${{ matrix.config.name }} | |
| runs-on: ${{ matrix.config.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| config: | |
| - {name: "windows-x64", os: "windows-latest", cmake_extra: "-T v142,host=x86"} | |
| - {name: "macOS-latest", os: "macOS-latest"} | |
| - {name: "ubuntu-latest", os: "ubuntu-latest"} | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Configure CBSDK | |
| run: | | |
| cmake --version | |
| cmake -B build -S . \ | |
| -DCBSDK_BUILD_CBMEX=OFF \ | |
| -DCBSDK_BUILD_CBOCT=OFF \ | |
| -DCBSDK_BUILD_TEST=ON \ | |
| -DCBSDK_BUILD_SAMPLE=OFF \ | |
| -DCBSDK_BUILD_TOOLS=OFF \ | |
| -DCMAKE_BUILD_TYPE=Release \ | |
| -DCMAKE_INSTALL_PREFIX=${PWD}/install \ | |
| ${{ matrix.config.cmake_extra }} | |
| - name: Build | |
| run: cmake --build build --config Release -j | |
| - name: Run Tests | |
| run: > | |
| ctest --test-dir build --build-config Release --output-on-failure | |
| -E "^device\." |