Skip to content

Commit a48efc0

Browse files
[CI] Bump Xcode version (#50)
1 parent 54e302b commit a48efc0

File tree

4 files changed

+14
-13
lines changed

4 files changed

+14
-13
lines changed

.github/workflows/cron-checks.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
strategy:
2222
matrix:
2323
include:
24-
- ios: "26.0"
24+
- ios: "26.1"
2525
device: "iPhone 17 Pro"
2626
setup_runtime: false
2727
- ios: "18.5"
@@ -39,7 +39,8 @@ jobs:
3939
fail-fast: false
4040
runs-on: macos-15
4141
env:
42-
XCODE_VERSION: "26.0.1"
42+
XCODE_VERSION: "26.1.1"
43+
IOS_SIMULATOR_DEVICE: "${{ matrix.device }} (${{ matrix.ios }})"
4344
steps:
4445
- uses: actions/[email protected]
4546
- uses: ./.github/actions/bootstrap
@@ -53,7 +54,7 @@ jobs:
5354
version: ${{ matrix.ios }}
5455
device: ${{ matrix.device }}
5556
- name: Run LLC Tests (Debug)
56-
run: bundle exec fastlane test device:"${{ matrix.device }} (${{ matrix.ios }})" cron:true
57+
run: bundle exec fastlane test device:"${{ env.IOS_SIMULATOR_DEVICE }}" cron:true
5758
timeout-minutes: 60
5859
- name: Parse xcresult
5960
if: failure()
@@ -73,7 +74,7 @@ jobs:
7374
strategy:
7475
matrix:
7576
include:
76-
- xcode: 26.0.1 # swift 6.2
77+
- xcode: 26.1.1 # swift 6.2
7778
os: macos-15
7879
- xcode: 16.4 # swift 6.1
7980
os: macos-15

.github/workflows/smoke-checks.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ concurrency:
2020

2121
env:
2222
HOMEBREW_NO_INSTALL_CLEANUP: 1 # Disable cleanup for homebrew, we don't need it on CI
23-
IOS_SIMULATOR_DEVICE: "iPhone 17 Pro (26.0)"
23+
IOS_SIMULATOR_DEVICE: "iPhone 17 Pro (26.1)"
2424
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2525
GITHUB_PR_NUM: ${{ github.event.pull_request.number }}
2626

@@ -94,7 +94,7 @@ jobs:
9494
- uses: ./.github/actions/ruby-cache
9595
- uses: ./.github/actions/xcode-cache
9696
- name: Build Demo App
97-
run: bundle exec fastlane build_demo
97+
run: bundle exec fastlane build_demo device:"${{ env.IOS_SIMULATOR_DEVICE }}"
9898

9999
build-spm-integration:
100100
name: Build SPM Integration App

Scripts/bootstrap.sh

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ if [ "${SKIP_SWIFT_BOOTSTRAP:-}" != true ]; then
3030
puts "Install SwiftLint v${SWIFT_LINT_VERSION}"
3131
DOWNLOAD_URL="https://github.com/realm/SwiftLint/releases/download/${SWIFT_LINT_VERSION}/SwiftLint.pkg"
3232
DOWNLOAD_PATH="/tmp/SwiftLint-${SWIFT_LINT_VERSION}.pkg"
33-
curl -sL "$DOWNLOAD_URL" -o "$DOWNLOAD_PATH"
33+
wget "$DOWNLOAD_URL" -O "$DOWNLOAD_PATH"
3434
sudo installer -pkg "$DOWNLOAD_PATH" -target /
3535
swiftlint version
3636

@@ -39,7 +39,7 @@ if [ "${SKIP_SWIFT_BOOTSTRAP:-}" != true ]; then
3939
DOWNLOAD_PATH="/tmp/swiftformat-${SWIFT_FORMAT_VERSION}.zip"
4040
BIN_PATH="/usr/local/bin/swiftformat"
4141
brew uninstall swiftformat || true
42-
curl -sL "$DOWNLOAD_URL" -o "$DOWNLOAD_PATH"
42+
wget "$DOWNLOAD_URL" -O "$DOWNLOAD_PATH"
4343
unzip -o "$DOWNLOAD_PATH" -d /tmp/swiftformat-${SWIFT_FORMAT_VERSION}
4444
sudo mv /tmp/swiftformat-${SWIFT_FORMAT_VERSION}/swiftformat "$BIN_PATH"
4545
sudo chmod +x "$BIN_PATH"
@@ -50,7 +50,7 @@ if [ "${SKIP_SWIFT_BOOTSTRAP:-}" != true ]; then
5050
DOWNLOAD_PATH="/tmp/swiftgen-${SWIFT_GEN_VERSION}.zip"
5151
INSTALL_DIR="/usr/local/lib/swiftgen"
5252
BIN_PATH="/usr/local/bin/swiftgen"
53-
curl -sL "$DOWNLOAD_URL" -o "$DOWNLOAD_PATH"
53+
wget "$DOWNLOAD_URL" -O "$DOWNLOAD_PATH"
5454
sudo rm -rf "$INSTALL_DIR"
5555
sudo mkdir -p "$INSTALL_DIR"
5656
sudo unzip -o "$DOWNLOAD_PATH" -d "$INSTALL_DIR"
@@ -62,7 +62,7 @@ fi
6262
if [[ ${INSTALL_SONAR-default} == true ]]; then
6363
puts "Install sonar scanner v${SONAR_VERSION}"
6464
DOWNLOAD_URL="https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION}-macosx-x64.zip"
65-
curl -sL "${DOWNLOAD_URL}" -o ./fastlane/sonar.zip
65+
wget "${DOWNLOAD_URL}" -O ./fastlane/sonar.zip
6666
cd fastlane
6767
unzip sonar.zip
6868
rm sonar.zip
@@ -74,12 +74,12 @@ fi
7474
if [[ ${INSTALL_ALLURE-default} == true ]]; then
7575
puts "Install allurectl v${ALLURECTL_VERSION}"
7676
DOWNLOAD_URL="https://github.com/allure-framework/allurectl/releases/download/${ALLURECTL_VERSION}/allurectl_darwin_amd64"
77-
curl -sL "${DOWNLOAD_URL}" -o ./fastlane/allurectl
77+
wget "${DOWNLOAD_URL}" -O ./fastlane/allurectl
7878
chmod +x ./fastlane/allurectl
7979

8080
puts "Install xcresults v${XCRESULTS_VERSION}"
8181
DOWNLOAD_URL="https://github.com/eroshenkoam/xcresults/releases/download/${XCRESULTS_VERSION}/xcresults"
82-
curl -sL "${DOWNLOAD_URL}" -o ./fastlane/xcresults
82+
wget "${DOWNLOAD_URL}" -O ./fastlane/xcresults
8383
chmod +x ./fastlane/xcresults
8484
fi
8585

fastlane/Fastfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ require 'json'
66
require 'net/http'
77
import 'Sonarfile'
88

9-
xcode_version = ENV['XCODE_VERSION'] || '26.0.1'
9+
xcode_version = ENV['XCODE_VERSION'] || '26.1.1'
1010
xcode_project = 'StreamFeeds.xcodeproj'
1111
sdk_names = ['StreamFeeds']
1212
github_repo = ENV['GITHUB_REPOSITORY'] || 'GetStream/stream-feeds-swift'

0 commit comments

Comments
 (0)