Skip to content

Commit 9d78b90

Browse files
no capture on intel mac
1 parent 34a525d commit 9d78b90

5 files changed

Lines changed: 27 additions & 10 deletions

File tree

‎.github/workflows/builds.yml‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,9 +196,11 @@ jobs:
196196
# Reconfigure the same CMake tree after the standard bundle and aliases
197197
# have been validated and uploaded. Keep both install prefixes separate.
198198
- name: Set up capture dependencies
199+
if: matrix.name != 'macos-x64'
199200
uses: ./.github/actions/setup-capture
200201

201202
- name: Build capture SDK
203+
if: matrix.name != 'macos-x64'
202204
uses: ./.github/actions/build-sdk
203205
with:
204206
preset: release-examples
@@ -207,18 +209,21 @@ jobs:
207209
macos-arch: ${{ matrix.macos_arch || '' }}
208210

209211
- name: Smoke test capture examples
212+
if: matrix.name != 'macos-x64'
210213
uses: ./.github/actions/smoke-examples
211214
with:
212215
build-dir: ${{ env.BUILD_DIR }}
213216

214217
- name: Test installed capture SDK
218+
if: matrix.name != 'macos-x64'
215219
uses: ./.github/actions/test-sdk-bundle
216220
with:
217221
bundle-dir: sdk-out/livekit-sdk-${{ matrix.name }}-capture
218222
capture: 'ON'
219223
macos-arch: ${{ matrix.macos_arch || '' }}
220224

221225
- name: Upload capture SDK bundle
226+
if: matrix.name != 'macos-x64'
222227
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
223228
with:
224229
name: livekit-sdk-${{ matrix.name }}-capture

‎.github/workflows/make-release.yml‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,9 +199,11 @@ jobs:
199199
version: ${{ steps.version.outputs.version }}
200200

201201
- name: Set up capture dependencies
202+
if: matrix.name != 'macos-x64'
202203
uses: ./.github/actions/setup-capture
203204

204205
- name: Rebuild with capture
206+
if: matrix.name != 'macos-x64'
205207
uses: ./.github/actions/build-sdk
206208
with:
207209
preset: release-examples
@@ -211,11 +213,13 @@ jobs:
211213
macos-arch: ${{ matrix.macos_arch || '' }}
212214

213215
- name: Symbol leak check (capture SDK)
216+
if: matrix.name != 'macos-x64'
214217
uses: ./.github/actions/check-sdk-symbols
215218
with:
216219
bundle-dir: sdk-out/livekit-sdk-${{ matrix.name }}-capture-${{ steps.version.outputs.version }}
217220

218221
- name: Test installed capture SDK
222+
if: matrix.name != 'macos-x64'
219223
uses: ./.github/actions/test-sdk-bundle
220224
with:
221225
bundle-dir: sdk-out/livekit-sdk-${{ matrix.name }}-capture-${{ steps.version.outputs.version }}
@@ -231,6 +235,7 @@ jobs:
231235
path: sdk-out/livekit-sdk-${{ matrix.name }}-${{ steps.version.outputs.version }}
232236

233237
- name: Upload capture build artifact
238+
if: matrix.name != 'macos-x64'
234239
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
235240
with:
236241
name: livekit-sdk-${{ matrix.name }}-capture-${{ steps.version.outputs.version }}
@@ -306,6 +311,8 @@ jobs:
306311
# Standard and capture-enabled Ubuntu and macOS bundles.
307312
for platform in ubuntu-22.04-x64 ubuntu-22.04-arm64 ubuntu-24.04-x64 ubuntu-24.04-arm64 macos-arm64 macos-x64; do
308313
for suffix in "" "-capture"; do
314+
# Intel macOS ships only the standard SDK.
315+
if [[ "$platform" == macos-x64 && "$suffix" == -capture ]]; then continue; fi
309316
dirName="livekit-sdk-${platform}${suffix}-${VERSION}"
310317
test -d "${dirName}"
311318
tar -czf "${{ github.workspace }}/release-assets/${dirName}.tar.gz" "${dirName}"

‎.github/workflows/tests.yml‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -312,8 +312,8 @@ jobs:
312312
sudo sysctl -w "kern.corefile=${RUNNER_TEMP}/livekit-core.%P"
313313
fi
314314
315-
# Validate the standard installed SDK, then enable capture in the same
316-
# CMake tree. Compile and run the complete test suite once, with capture.
315+
# Validate the standard SDK, then compile and run the suite once.
316+
# Enable capture for supported platforms; Intel macOS stays standard.
317317
- name: Build standard SDK
318318
uses: ./.github/actions/build-sdk
319319
with:
@@ -331,7 +331,7 @@ jobs:
331331
build-type: ${{ inputs.build_type == 'debug' && 'Debug' || 'Release' }}
332332

333333
- name: Test selective capture bundles
334-
if: matrix.selective_capture || (inputs.extended_capture_sources && matrix.extended_capture)
334+
if: matrix.name != 'macos-x64' && (matrix.selective_capture || (inputs.extended_capture_sources && matrix.extended_capture))
335335
uses: ./.github/actions/test-capture-variants
336336
with:
337337
preset: ${{ inputs.build_type }}
@@ -340,22 +340,22 @@ jobs:
340340
macos-arch: ${{ matrix.macos_arch || '' }}
341341

342342
- name: Set up capture dependencies
343-
if: ${{ !(matrix.selective_capture || (inputs.extended_capture_sources && matrix.extended_capture)) }}
343+
if: ${{ matrix.name != 'macos-x64' && !(matrix.selective_capture || (inputs.extended_capture_sources && matrix.extended_capture)) }}
344344
uses: ./.github/actions/setup-capture
345345

346-
- name: Rebuild tests with capture
346+
- name: Build SDK with tests
347347
uses: ./.github/actions/build-sdk
348348
with:
349349
preset: ${{ inputs.build_type }}-tests
350-
capture: 'ON'
351-
bundle-dir: sdk-out/test-sdk-all
350+
capture: ${{ matrix.name == 'macos-x64' && 'OFF' || 'ON' }}
351+
bundle-dir: sdk-out/test-sdk-tests
352352
macos-arch: ${{ matrix.macos_arch || '' }}
353353

354-
- name: Test installed all-sources SDK
354+
- name: Test installed SDK used by tests
355355
uses: ./.github/actions/test-sdk-bundle
356356
with:
357-
bundle-dir: sdk-out/test-sdk-all
358-
expected-sources: all
357+
bundle-dir: sdk-out/test-sdk-tests
358+
expected-sources: ${{ matrix.name == 'macos-x64' && 'none' || 'all' }}
359359
verify-pixel-sources: ${{ matrix.selective_capture || (inputs.extended_capture_sources && runner.os == 'macOS' && matrix.extended_capture) }}
360360
macos-arch: ${{ matrix.macos_arch || '' }}
361361
build-type: ${{ inputs.build_type == 'debug' && 'Debug' || 'Release' }}

‎docs/capture-sources.md‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Capture sources
22

3+
> **NOTE:** LiveKit Capture is not officially supported on Intel-based Macs.
4+
35
`CaptureSource` connects a Rust video producer to a regular C++ `VideoSource`.
46
The capture pump runs in Rust, so C++ does not send one FFI request per frame.
57
The SDK supports three source configurations:

‎docs/testing.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,9 @@ SDK's `bin` directory and GStreamer's `bin` directory to `PATH` before running C
142142

143143
### Selective capture in CI
144144

145+
Intel macOS CI runs the standard SDK tests only; capture builds and checks are
146+
not supported on that platform.
147+
145148
The Ubuntu 24.04 x64 test job checks `none`, each singleton source, and `all`.
146149
Singleton builds reuse the C++ build tree and do not compile the unit/integration
147150
suites. Pattern and clock builds run before GStreamer installation. This runner

0 commit comments

Comments
 (0)