Skip to content

Migrate to Xcode 15 for tests. #302

Migrate to Xcode 15 for tests.

Migrate to Xcode 15 for tests. #302

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
validate_spec:
runs-on: macos-latest
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Validate podspec
run: pod lib lint
build_xcode:
runs-on: macos-13
strategy:
matrix:
run-config:
- { xcode_version: '14.1', simulator: 'name=iPad Pro (12.9-inch) (6th generation),OS=16.1' }
- { xcode_version: '14.1', simulator: 'name=iPhone SE (3rd generation),OS=16.1' }
- { xcode_version: '15.2', simulator: 'name=iPad Pro (12.9-inch) (6th generation),OS=17.2' }
- { xcode_version: '15.2', simulator: 'name=iPhone SE (3rd generation),OS=17.2' }
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Brew Update
run: brew update
- name: Install Bundler
run: gem install bundler
- name: Install Core Utils
run: if [ -z "$(brew ls --versions coreutils)" ] ; then brew install coreutils ; fi
- name: Install XCPretty
run: gem install xcpretty --no-document --quiet
- name: Show Xcode versions
run: ls -al /Applications/Xcode*
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.run-config['xcode_version'] }}.app
- name: Current Xcode Selected
run: xcode-select -p
- name: List Simulators
run: xcrun simctl list
- name: Build & Test
run: ./scripts/ci.sh "${{ matrix.run-config['simulator'] }}"