@@ -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' }}
0 commit comments