Skip to content

feat: Enhance Device Harness with improved data publishing and valida… #100

feat: Enhance Device Harness with improved data publishing and valida…

feat: Enhance Device Harness with improved data publishing and valida… #100

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
name: SwiftPM tests
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Guard forbidden runtime dependencies
run: scripts/guard_no_rust_uniffi.sh
- name: Resolve dependencies
run: swift package resolve
- name: Run tests
run: swift test
- name: Validate release gate shape
run: LIVEKIT_NATIVE_RELEASE_RUN_TESTS=0 LIVEKIT_NATIVE_RELEASE_RUN_BENCHMARKS=0 LIVEKIT_NATIVE_RELEASE_RUN_SIZE_GATE=0 scripts/check_release_readiness.sh
- name: Benchmark smoke
run: swift run -c release LiveKitNativeBenchmarks --samples 30 --warmup 5 --ops-per-sample 50
- name: Size gate
run: scripts/check_release_size.sh
apple-builds:
name: Apple platform builds
runs-on: macos-15
steps:
- uses: actions/checkout@v4
- name: Build macOS
run: xcodebuild build -scheme LiveKitNative -destination 'generic/platform=macOS'
- name: Build iOS simulator
run: xcodebuild build -scheme LiveKitNative -destination 'generic/platform=iOS Simulator'
- name: DocC
run: xcodebuild docbuild -scheme LiveKitNative -destination 'generic/platform=macOS'