Bump the CI workflows to iOS 26.5, centralise default OS version

This commit is contained in:
Stefan Ceriu
2026-06-08 09:15:01 +03:00
parent 44284de1e7
commit 2fddb597b8
10 changed files with 12 additions and 11 deletions
+3 -3
View File
@@ -9,7 +9,7 @@ struct RunTests: AsyncParsableCommand {
Examples:
swift run tools run-tests --scheme UnitTests
swift run tools run-tests --scheme UITests --device iPhone --os-version 26.4
swift run tools run-tests --scheme UITests --device iPhone --os-version 26.5
swift run tools run-tests --scheme PreviewTests --create-simulator-name "iPhone SE (3rd generation)" \
--create-simulator-type com.apple.CoreSimulator.SimDeviceType.iPhone-SE-3rd-generation
""")
@@ -20,8 +20,8 @@ struct RunTests: AsyncParsableCommand {
@Option(help: "The simulator device name to run tests on (e.g. 'iPhone 17').")
var device = "iPhone 17"
@Option(help: "The iOS version to use for the simulator runtime (e.g. '26.4').")
var osVersion = "26.4.1"
@Option(help: "The iOS version to use for the simulator runtime (e.g. '26.5').")
var osVersion = CI.defaultOSVersion
var runtime: String {
osVersion.split(separator: ".").prefix(2).joined(separator: ".")