Skip to content

Commit 85f2274

Browse files
Reorganize pipeline
1 parent 1671bd1 commit 85f2274

File tree

2 files changed

+13
-14
lines changed

2 files changed

+13
-14
lines changed

.buildkite/pipeline.yml

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ steps:
4747
#################
4848
- group: "📦 Build and Test Swift Package"
4949
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)"
5151
command: |
5252
validate_swift_package test device_model:"$SWIFT_6_0_DEVICE" os:"$SWIFT_6_0_OS"
5353
key: "test_swift_current"
@@ -69,7 +69,7 @@ steps:
6969
- group: "🔬 Validate Podspecs"
7070
steps:
7171
- <<: *validate_pods
72-
label: "🔬 Validate Podspecs (Swift $SWIFT_6_0_SWIFT_VERSION)"
72+
label: "🔬 Validate Podspecs (Swift $SWIFT_6_0_VERSION)"
7373
key: "validate"
7474
env:
7575
IMAGE_ID: "$SWIFT_6_0_IMAGE_ID"
@@ -103,26 +103,25 @@ steps:
103103
# Build/Upload Demo
104104
###################
105105
- <<: *demo_build
106-
label: "🛠️ Build Demo (Swift $SWIFT_6_0_SWIFT_VERSION)"
106+
label: "🛠️ Build Demo (Swift $SWIFT_6_0_VERSION)"
107107
key: build_demo
108108
depends_on: test_swift_current
109-
env:
110-
IMAGE_ID: "$SWIFT_6_0_IMAGE_ID"
111109
artifact_paths: # Archive artifacts only for the production version of Swift
112110
- ".build/artifacts/*.ipa"
113111
- ".build/artifacts/*.dSYM.zip"
114112

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+
###################
115122
- <<: *demo_build
116123
label: "🛠️ Build Demo (Swift $SWIFT_5_10_VERSION)"
117124
key: build_swift_5_10
118125
depends_on: test_swift_5_10
119126
env:
120127
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

.buildkite/shared-pipeline-vars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export CI_TOOLKIT="automattic/a8c-ci-toolkit#3.2.2"
1010
export SWIFT_6_0_IMAGE_ID="xcode-16.2-macos-14.7.1-v1"
1111
export SWIFT_6_0_VERSION="6_0" # Use `_` instead of `.` since these are used in labels
1212
export SWIFT_6_0_DEVICE="default" # Use the default value in Fastlane
13-
export SWIFT_6_0_OS="18.0"
13+
export SWIFT_6_0_OS="18.2"
1414

1515
# Swift 5.10
1616
export SWIFT_5_10_IMAGE_ID="xcode-15.4"

0 commit comments

Comments
 (0)