Skip to content

Commit

Permalink
Switch CI to Xcode 16.
Browse files Browse the repository at this point in the history
  • Loading branch information
maratal committed Sep 26, 2024
1 parent afe1262 commit 458b1d3
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/check-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,13 @@ on:

jobs:
check:
runs-on: macos-13
runs-on: macos-14
steps:
- uses: actions/checkout@v2

- name: Select Specific Xcode Version (15.1)
- name: Select Specific Xcode Version (16.0)
run: |
sudo xcode-select -s /Applications/Xcode_15.1.app
sudo xcode-select -s /Applications/Xcode_16.app
echo "Selected Xcode version:"
xcodebuild -version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:

jobs:
build:
runs-on: macos-latest
runs-on: macOS-14

permissions:
deployments: write
Expand All @@ -19,9 +19,9 @@ jobs:
steps:
- uses: actions/checkout@v2

- name: Select Specific Xcode Version (15.1)
- name: Select Specific Xcode Version (16.0)
run: |
sudo xcode-select -s /Applications/Xcode_15.1.app
sudo xcode-select -s /Applications/Xcode_16.app
echo "Selected Xcode version:"
xcodebuild -version
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/examples.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
check:
runs-on: macos-13
runs-on: macos-14

env:
LC_CTYPE: en_US.UTF-8
Expand All @@ -20,9 +20,9 @@ jobs:
- name: Checkout repo
uses: actions/checkout@v2

- name: Select Xcode (15.1)
- name: Select Xcode (16.0)
run: |
sudo xcode-select -s /Applications/Xcode_15.1.app
sudo xcode-select -s /Applications/Xcode_16.app
echo "Selected Xcode version:"
xcodebuild -version
Expand All @@ -43,15 +43,15 @@ jobs:
run: |
pod repo update
pod install
bundle exec fastlane scan -s Tests --output-directory "fastlane/test_output/examples/test_iOS17_2"
bundle exec fastlane scan -s Tests --output-directory "fastlane/test_output/examples/test_iOS18_0"
- name: Carthage Installation
working-directory: ./Examples/AblyCarthage
run: |
echo 'Installing Carthage dependencies...'
carthage update --use-xcframeworks --platform iOS --no-use-binaries
echo 'Building AblyCarthage example...'
xcodebuild build -scheme "AblyCarthage" -destination "platform=iOS Simulator,name=iPhone 15" -configuration "Debug"
xcodebuild build -scheme "AblyCarthage" -destination "platform=iOS Simulator,name=iPhone 16" -configuration "Debug"
- name: SPM Installation
working-directory: ./
Expand All @@ -67,4 +67,4 @@ jobs:
- name: Build APNS Example
working-directory: ./Examples/AblyPush
run: |
xcodebuild build -scheme "AblyPushExample" -destination "platform=iOS Simulator,name=iPhone 15" -configuration "Debug"
xcodebuild build -scheme "AblyPushExample" -destination "platform=iOS Simulator,name=iPhone 16" -configuration "Debug"
10 changes: 5 additions & 5 deletions .github/workflows/integration-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,18 @@ on:

jobs:
check:
runs-on: macos-13
runs-on: macos-14

strategy:
fail-fast: false
matrix:
include:

- platform: iOS
lane: test_iOS17_2
lane: test_iOS18_0

- platform: tvOS
lane: test_tvOS17_2
lane: test_tvOS18_0

- platform: macOS
lane: test_macOS
Expand All @@ -38,9 +38,9 @@ jobs:
- name: Check out repo
uses: actions/checkout@v2

- name: Select Xcode (15.1)
- name: Select Xcode (16.0)
run: |
sudo xcode-select -s /Applications/Xcode_15.1.app
sudo xcode-select -s /Applications/Xcode_16.app
echo "Selected Xcode version:"
xcodebuild -version
Expand Down
4 changes: 2 additions & 2 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ end
platform :ios do

LANE_CONFIGS = [
LaneConfig.new(:test_iOS17_2, "Ably-iOS", ["iPhone 15 (17.2)"]),
LaneConfig.new(:test_tvOS17_2, "Ably-tvOS", ["Apple TV (17.2)"]),
LaneConfig.new(:test_iOS18_0, "Ably-iOS", ["iPhone 16 (18.0)"]),
LaneConfig.new(:test_tvOS18_0, "Ably-tvOS", ["Apple TV (18.0)"]),
LaneConfig.new(:test_macOS, "Ably-macOS")
]

Expand Down

0 comments on commit 458b1d3

Please sign in to comment.