Skip to content

Commit

Permalink
[CI] Bump Xcode version
Browse files Browse the repository at this point in the history
  • Loading branch information
testableapple committed Dec 3, 2024
1 parent 6328c78 commit a0ca11f
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 7 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/cron-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,11 @@ jobs:
strategy:
matrix:
include:
- ios: 18.1
xcode: 16.1
os: macos-15
device: "iPhone 16 Pro"
setup_runtime: false
- ios: 17.4
xcode: 15.4
os: macos-14
Expand Down Expand Up @@ -117,8 +122,15 @@ jobs:
strategy:
matrix:
include:
- xcode: 16.1
os: macos-15
- xcode: 15.4
os: macos-14
- ios: 18.1
xcode: 16.1
os: macos-15
device: "iPhone 16 Pro"
setup_runtime: false
- xcode: 15.0.1
os: macos-14
fail-fast: false
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/smoke-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ concurrency:

env:
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.4)"
IOS_SIMULATOR_DEVICE: "iPhone 16 Pro (18.1)"
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_PR_NUM: ${{ github.event.pull_request.number }}

Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:

test-ui-debug:
name: Test SwiftUI (Debug)
runs-on: macos-14
runs-on: macos-15
needs: build-test-app-and-frameworks
steps:
- uses: actions/[email protected]
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:

test-e2e-debug:
name: Test E2E UI (Debug)
runs-on: macos-14
runs-on: macos-15
if: ${{ github.event_name != 'push' && github.event.inputs.snapshots != 'true' }}
needs:
- allure_testops_launch
Expand All @@ -191,8 +191,6 @@ jobs:
run: bundle exec fastlane test_e2e_mock device:"${{ env.IOS_SIMULATOR_DEVICE }}" batch:'${{ matrix.batch }}' test_without_building:true
timeout-minutes: 100
env:
XCODE_VERSION: "15.2" # the most stable pair of Xcode
IOS_SIMULATOR_DEVICE: "iPhone 15 Pro (17.2)" # and iOS
MATRIX_SIZE: ${{ strategy.job-total }}
- name: Allure TestOps Upload
if: env.LAUNCH_ID != '' && (success() || failure())
Expand Down
3 changes: 1 addition & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require 'xcodeproj'
import 'Sonarfile'
import 'Allurefile'

xcode_version = ENV['XCODE_VERSION'] || '15.4'
xcode_version = ENV['XCODE_VERSION'] || '16.1'
xcode_project = 'StreamChatSwiftUI.xcodeproj'
sdk_names = ['StreamChatSwiftUI']
github_repo = ENV['GITHUB_REPOSITORY'] || 'GetStream/stream-chat-swiftui'
Expand Down Expand Up @@ -116,7 +116,6 @@ lane :publish_release do |options|
UI.user_error!('Release version cannot be empty') if release_version.to_s.empty?
ensure_git_branch(branch: 'main')

xcversion(version: '15.0.1')
clean_products
build_xcframeworks
compress_frameworks
Expand Down

0 comments on commit a0ca11f

Please sign in to comment.