@@ -23,25 +23,28 @@ steps:
2323 # ################
2424 - group : " 📦 Build and Test Swift Package"
2525 steps :
26- - label : " 📦 Build and Test Swift Package ({{matrix.image_id }})"
26+ - label : " 📦 Build and Test Swift Package (Swift {{matrix.swift_version }})"
2727 key : " test"
2828 command : |
2929 validate_swift_package test device_model:"{{matrix.device_model}}" os:"{{matrix.device_os}}"
3030 plugins : [$CI_TOOLKIT]
3131 env :
3232 IMAGE_ID : " {{matrix.image_id}}"
3333 matrix :
34- setup : # Specify the current version of Xcode and device
34+ setup : # Specify the current version of Xcode, Swift, a device, and the required version of iOS
3535 image_id : $IMAGE_ID
36+ swift_version : " 5.10"
3637 device_model : " default"
3738 device_os : " default"
38- adjustments : # Specify additional versions of Xcode and devices
39+ adjustments : # Specify additional versions of Xcode, Swift, a device, and the required version of iOS
3940 - with :
4041 image_id : " xcode-15.2-xl"
42+ swift_version : " 5.9"
4143 device_model : " default"
4244 device_os : " 17.2"
4345 - with :
4446 image_id : " xcode-16.0-v7"
47+ swift_version : " 6.0"
4548 device_model : " default"
4649 device_os : " 18.0"
4750
@@ -50,21 +53,24 @@ steps:
5053 # ##################
5154 - group : " 🔬 Validate Podspecs"
5255 steps :
53- - label : " 🔬 Validate Podspecs ({{matrix.image_id }})"
56+ - label : " 🔬 Validate Podspecs (Swift {{matrix.swift_version }})"
5457 key : " validate"
5558 command : |
5659 .buildkite/commands/validate-pods.sh
5760 plugins : [$CI_TOOLKIT]
5861 env :
5962 IMAGE_ID : " {{matrix.image_id}}"
6063 matrix :
61- setup : # Specify the current version of Xcode and device
64+ setup : # Specify the current version of Xcode and Swift
6265 image_id : $IMAGE_ID
63- adjustments : # Specify additional versions of Xcode and devices
66+ swift_version : " 5.10"
67+ adjustments : # Specify additional versions of Xcode and Swift
6468 - with :
6569 image_id : " xcode-15.2-xl"
70+ swift_version : " 5.9"
6671 - with :
6772 image_id : " xcode-16.0-v7"
73+ swift_version : " 6.0"
6874
6975 # ######################
7076 # Publish the Podspecs (if we're building a tag)
0 commit comments