mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
Run CI with Xcode 26.1 RC (#4672)
* Use Xcode 26.1 RC on CI * regenerated previews with 26.1 * ui tests * fix * fix some iPad tests rendering * remove useless fastlane line --------- Co-authored-by: Doug <douglase@element.io>
This commit is contained in:
+7
-7
@@ -7,10 +7,10 @@ if File.exist?(enterprise)
|
||||
import enterprise
|
||||
end
|
||||
|
||||
simulator_version = "26.0"
|
||||
simulator_version = "26.1"
|
||||
|
||||
before_all do
|
||||
xcversion(version: "~> 26.0.0")
|
||||
xcversion(version: "~> 26.1")
|
||||
|
||||
ENV["FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT"] = "180"
|
||||
ENV["FASTLANE_XCODE_LIST_TIMEOUT"] = "180"
|
||||
@@ -53,17 +53,17 @@ lane :ui_tests do |options|
|
||||
# Presumably because launching 2 simulators uses more memory than the runner has available.
|
||||
|
||||
if options[:device] == "iPhone"
|
||||
device = "iPhone-26.0"
|
||||
device = "iPhone-#{simulator_version}"
|
||||
|
||||
create_simulator_if_necessary(
|
||||
name: "iPhone-26.0",
|
||||
name: "iPhone-#{simulator_version}",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPhone-17"
|
||||
)
|
||||
elsif options[:device] == "iPad"
|
||||
device = "iPad-26.0"
|
||||
device = "iPad-#{simulator_version}"
|
||||
|
||||
create_simulator_if_necessary(
|
||||
name: "iPad-26.0",
|
||||
name: "iPad-#{simulator_version}",
|
||||
type: "com.apple.CoreSimulator.SimDeviceType.iPad-A16"
|
||||
)
|
||||
else
|
||||
@@ -333,4 +333,4 @@ private_lane :create_simulator_if_necessary do |options|
|
||||
end
|
||||
|
||||
# device_id is unused right now but is useful to check e.g. the boot status of a simulator.
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user