|
47 | 47 | ################# |
48 | 48 | - group: "📦 Build and Test Swift Package" |
49 | 49 | steps: |
50 | | - - label: "📦 Build and Test Swift Package (Swift $SWIFT_6_0_SWIFT_VERSION)" |
| 50 | + - label: "📦 Build and Test Swift Package (Swift $SWIFT_6_0_VERSION)" |
51 | 51 | command: | |
52 | 52 | validate_swift_package test device_model:"$SWIFT_6_0_DEVICE" os:"$SWIFT_6_0_OS" |
53 | 53 | key: "test_swift_current" |
|
69 | 69 | - group: "🔬 Validate Podspecs" |
70 | 70 | steps: |
71 | 71 | - <<: *validate_pods |
72 | | - label: "🔬 Validate Podspecs (Swift $SWIFT_6_0_SWIFT_VERSION)" |
| 72 | + label: "🔬 Validate Podspecs (Swift $SWIFT_6_0_VERSION)" |
73 | 73 | key: "validate" |
74 | 74 | env: |
75 | 75 | IMAGE_ID: "$SWIFT_6_0_IMAGE_ID" |
@@ -103,26 +103,25 @@ steps: |
103 | 103 | # Build/Upload Demo |
104 | 104 | ################### |
105 | 105 | - <<: *demo_build |
106 | | - label: "🛠️ Build Demo (Swift $SWIFT_6_0_SWIFT_VERSION)" |
| 106 | + label: "🛠️ Build Demo (Swift $SWIFT_6_0_VERSION)" |
107 | 107 | key: build_demo |
108 | 108 | depends_on: test_swift_current |
109 | | - env: |
110 | | - IMAGE_ID: "$SWIFT_6_0_IMAGE_ID" |
111 | 109 | artifact_paths: # Archive artifacts only for the production version of Swift |
112 | 110 | - ".build/artifacts/*.ipa" |
113 | 111 | - ".build/artifacts/*.dSYM.zip" |
114 | 112 |
|
| 113 | + - label: "⬆️ Upload Demo to App Center" |
| 114 | + depends_on: build_demo |
| 115 | + plugins: [$CI_TOOLKIT] |
| 116 | + command: .buildkite/commands/upload-to-appcenter.sh |
| 117 | + if: build.pull_request.id != null |
| 118 | + |
| 119 | + ################### |
| 120 | + # Build Demo Distribution for older supported versions of Swift |
| 121 | + ################### |
115 | 122 | - <<: *demo_build |
116 | 123 | label: "🛠️ Build Demo (Swift $SWIFT_5_10_VERSION)" |
117 | 124 | key: build_swift_5_10 |
118 | 125 | depends_on: test_swift_5_10 |
119 | 126 | env: |
120 | 127 | IMAGE_ID: "$SWIFT_5_10_IMAGE_ID" |
121 | | - |
122 | | - - label: "⬆️ Upload Demo to App Center" |
123 | | - depends_on: build_demo |
124 | | - plugins: [$CI_TOOLKIT] |
125 | | - env: |
126 | | - IMAGE_ID: "$SWIFT_6_0_IMAGE_ID" # Upload only the production version of Swift |
127 | | - command: .buildkite/commands/upload-to-appcenter.sh |
128 | | - if: build.pull_request.id != null |
0 commit comments