pull_request trigger #20
Workflow file for this run
This file contains 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: Testing Matrix | |
on: | |
workflow_dispatch: | |
push: | |
pull_request: | |
jobs: | |
run_all_tests: | |
strategy: | |
fail-fast: false | |
matrix: | |
xcode-version: [14.2, 15.2] | |
destination: ['platform=iOS Simulator,OS=17.2,name=iPhone 14 Pro', 'platform=macOS', 'platform=macOS,variant=Mac Catalyst'] | |
runs-on: macos-13 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: ${{ matrix.xcode-version }} | |
- name: Xcode Version | |
run: xcodebuild -version | |
- name: Show SDKs | |
run: xcodebuild -showsdks | |
- name: Download iOS platforms | |
run: xcodebuild -downloadPlatform iOS | |
# xcode-installを用いて指定のiOSをインストール | |
# - name: Install iOS 13 | |
# run: xcversion simulators --install='iOS 13.0' | |
- name: Show Destinations | |
run: xcodebuild -scheme LiveKit -showdestinations | |
- name: Run All Tests | |
run: xcodebuild test -scheme LiveKit -destination '${{ matrix.destination }}' |