Skip to content

Remove realtime initial ack startup gate #12

Remove realtime initial ack startup gate

Remove realtime initial ack startup gate #12

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: build & test (${{ matrix.os }})
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-14, windows-latest]
env:
# Used by cmake/LiveKitSDK.cmake to resolve & download the LiveKit release.
GITHUB_TOKEN: ${{ github.token }}
steps:
- uses: actions/checkout@v4
- name: Install build tools (Linux)
if: runner.os == 'Linux'
run: sudo apt-get update && sudo apt-get install -y ninja-build libssl-dev zlib1g-dev
- name: Install build tools (macOS)
if: runner.os == 'macOS'
run: brew install ninja
- name: Configure & build (Unix)
if: runner.os != 'Windows'
run: |
cmake -B build -S . -G Ninja -DCMAKE_BUILD_TYPE=Release \
-DDECART_BUILD_EXAMPLES=ON -DDECART_BUILD_TESTS=ON
cmake --build build
- name: Configure & build (Windows, vcpkg)
if: runner.os == 'Windows'
shell: pwsh
run: |
cmake -B build -S . `
-DCMAKE_TOOLCHAIN_FILE="$env:VCPKG_INSTALLATION_ROOT\scripts\buildsystems\vcpkg.cmake" `
-DVCPKG_MANIFEST_FEATURES=tests `
-DDECART_BUILD_EXAMPLES=ON -DDECART_BUILD_TESTS=ON
cmake --build build --config Release
- name: Test
run: ctest --test-dir build --output-on-failure -C Release
format:
name: clang-format
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check formatting
run: |
sudo apt-get update && sudo apt-get install -y clang-format
./scripts/format.sh --check