Skip to content

ci: Update Xcode to 26.5, update macOS to use latest runner #491

ci: Update Xcode to 26.5, update macOS to use latest runner

ci: Update Xcode to 26.5, update macOS to use latest runner #491

Workflow file for this run

name: CI
on:
push:
branches:
- master
pull_request:
jobs:
validate_package:
runs-on: macos-latest
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Validate Package
run: swift build --sdk "`xcrun --sdk iphonesimulator --show-sdk-path`" --triple arm64-apple-ios18.0-simulator
build_macos_latest:
runs-on: macos-latest
strategy:
matrix:
include:
- xcode_version: '26.5'
sim_device: 'iPad (10th generation)'
run_extra_validations: 'false'
ios_version: '18.5'
- xcode_version: '26.5'
sim_device: 'iPhone 16'
run_extra_validations: 'true'
ios_version: '18.5'
steps:
- name: Checkout Project
uses: actions/checkout@v1
- name: Brew Update
run: brew update
- name: Install Core Utils
run: if [ -z "$(brew ls --versions coreutils)" ] ; then brew install coreutils ; fi
- name: Show Xcode versions
run: ls -al /Applications/Xcode*
- name: Select Xcode
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode_version }}.app
- name: Current Xcode Selected
run: xcode-select -p
- name: Install iOS Simulator Runtime
run: |
sudo xcodebuild -runFirstLaunch
sudo xcodebuild -downloadPlatform iOS -buildVersion "${{ matrix.ios_version }}"
echo "Finished downloading platform"
xcrun simctl list runtimes
xcrun simctl create "${{ matrix.sim_device }}" "${{ matrix.sim_device }}" "iOS ${{ matrix.ios_version }}"
- name: List Simulators
run: xcrun simctl list
- name: Build & Test
run: ./scripts/ci.sh "name=${{ matrix.sim_device }},OS=${{ matrix.ios_version }},arch=arm64" "${{ matrix.run_extra_validations }}"