Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test with Xcode16.2 #554

Merged
merged 15 commits into from
Jan 24, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 12 additions & 9 deletions .github/workflows/testing-matrix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ env:
TESTS: "FunctionTests ProcessingChainTests SDKTests RoomTests PublishDataTests PublishBufferCapturerTests VideoViewTests TrackTests"

jobs:
run:
test:
strategy:
fail-fast: false
matrix:
Expand All @@ -30,6 +30,7 @@ jobs:
- os: macos-13
xcode: 14.2
platform: "macOS,variant=Mac Catalyst"

# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md
- os: macos-14
xcode: 15.4
Expand All @@ -42,19 +43,20 @@ jobs:
platform: "macOS,variant=Mac Catalyst"
- os: macos-14
xcode: 15.4
platform: "visionOS Simulator,name=Apple Vision Pro" # visionOS 1.2
platform: "visionOS Simulator,name=Apple Vision Pro"
- os: macos-14
xcode: 15.4
platform: "tvOS Simulator,name=Apple TV"
# https://github.com/actions/runner-images/blob/main/images/macos/macos-14-Readme.md

# https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md
- os: macos-15
xcode: 16.1
xcode: 16.2
platform: "iOS Simulator,OS=18.1,name=iPhone 16 Pro"
- os: macos-15
xcode: 16.1
xcode: 16.2
platform: "macOS"
- os: macos-15
xcode: 16.1
xcode: 16.2
platform: "macOS,variant=Mac Catalyst"

runs-on: ${{ matrix.os }}
Expand All @@ -80,14 +82,15 @@ jobs:
run: xcrun swift --version

- name: Build
run: xcodebuild build-for-testing -scheme LiveKit -destination 'platform=${{ matrix.platform }}' -parallel-testing-enabled YES
run: xcodebuild build-for-testing -scheme LiveKit -destination 'platform=${{ matrix.platform }}' | xcbeautify

- name: Run
# Run all tests in parallel instead of sequentially
- name: Run Tests
run: |
IFS=' ' read -r -a tests <<< "${{ env.TESTS }}"
for test in "${tests[@]}"; do
echo "::group::Running test $test"
xcodebuild test-without-building -scheme LiveKit -destination 'platform=${{ matrix.platform }}' -only-testing:LiveKitTests/$test
xcodebuild test-without-building -scheme LiveKit -destination 'platform=${{ matrix.platform }}' -only-testing:LiveKitTests/$test | xcbeautify
echo "::endgroup::"
done
shell: bash
Loading