feat: Add validation for semantic report fields in release proof checks #67
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: 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' |