Skip to content

Commit

Permalink
Use iOS/tvOS 15.2 in CI
Browse files Browse the repository at this point in the history
This is the earliest version of iOS and tvOS now available in Xcode
13.2.1 (the version of Xcode that would have been the default on the
macos-latest runner at the time of c2ed307).
  • Loading branch information
lawrence-forooghian committed Nov 6, 2023
1 parent fd4611b commit 4f7cadb
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Integration Test: iOS 14.4"
name: "Integration Test: iOS 15.2"

on:
pull_request:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
make submodules
bundle install
make update_carthage_dependencies_ios
bundle exec fastlane test_iOS14_4
bundle exec fastlane test_iOS15_2
- name: Check Static Analyzer Output
id: analyzer-output
Expand All @@ -66,7 +66,7 @@ jobs:
if: ${{ failure() && steps.analyzer-output.outcome == 'failure' }}
uses: actions/upload-artifact@v2
with:
name: static-analyzer-reports-test_iOS14_4
name: static-analyzer-reports-test_iOS15_2
path: ./derived_data/**/report-*.html

# This is the script specified as the pod’s prepare_command in its Podspec.
Expand All @@ -81,7 +81,7 @@ jobs:
run: |
pod repo update
pod install
bundle exec fastlane scan -s Tests --output-directory "fastlane/test_output/examples/test_iOS14_4"
bundle exec fastlane scan -s Tests --output-directory "fastlane/test_output/examples/test_iOS15_2"
- name: Build APNS Example Project
working-directory: ./Examples/AblyPush
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Integration Test: tvOS 14.3"
name: "Integration Test: tvOS 15.2"

on:
pull_request:
Expand Down Expand Up @@ -50,7 +50,7 @@ jobs:
make submodules
bundle install
make update_carthage_dependencies_tvos
bundle exec fastlane test_tvOS14_3
bundle exec fastlane test_tvOS15_2
- name: Check Static Analyzer Output
id: analyzer-output
Expand All @@ -66,7 +66,7 @@ jobs:
if: ${{ failure() && steps.analyzer-output.outcome == 'failure' }}
uses: actions/upload-artifact@v2
with:
name: static-analyzer-reports-test_tvOS14_3
name: static-analyzer-reports-test_tvOS15_2
path: ./derived_data/**/report-*.html

# This is the script specified as the pod’s prepare_command in its Podspec.
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ submodules:

## [Tests] Run tests on iOS 14.4 using sandbox environment
test_iOS:
ABLY_ENV="sandbox" NAME="ably-iOS" bundle exec fastlane test_iOS14_4
ABLY_ENV="sandbox" NAME="ably-iOS" bundle exec fastlane test_iOS15_2

## [Tests] Run tests on tvOS 14.3 using sandbox environment
test_tvOS:
ABLY_ENV="sandbox" NAME="ably-tvOS" bundle exec fastlane test_tvOS14_3
ABLY_ENV="sandbox" NAME="ably-tvOS" bundle exec fastlane test_tvOS15_2

## [Tests] Run tests on macOS using sandbox environment
test_macOS:
Expand Down
12 changes: 6 additions & 6 deletions fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ default_platform(:ios)

platform :ios do

lane :test_iOS14_4 do
lane :test_iOS15_2 do
run_tests(
scheme: "Ably-iOS-Tests",
derived_data_path: "derived_data",
devices: ["iPhone 12 (14.4)"],
devices: ["iPhone 12 (15.2)"],
test_without_building: false,
xcargs: { ABLY_ENV: ENV['ABLY_ENV'], CLANG_ANALYZER_OUTPUT: 'plist-html' },
output_directory: "fastlane/test_output/sdk/test_iOS14_4"
output_directory: "fastlane/test_output/sdk/test_iOS15_2"
)
end

lane :test_tvOS14_3 do
lane :test_tvOS15_2 do
run_tests(
scheme: "Ably-tvOS-Tests",
derived_data_path: "derived_data",
devices: ["Apple TV 4K (14.3)"],
devices: ["Apple TV 4K (15.2)"],
xcargs: { ABLY_ENV: ENV['ABLY_ENV'], CLANG_ANALYZER_OUTPUT: 'plist-html' },
output_directory: "fastlane/test_output/sdk/test_tvOS14_3"
output_directory: "fastlane/test_output/sdk/test_tvOS15_2"
)
end

Expand Down

0 comments on commit 4f7cadb

Please sign in to comment.