Skip to content

Commit d0dfc31

Browse files
committed
Update Codemagic workflows to support Xcode 26.0 and 26.1
1 parent ea46234 commit d0dfc31

File tree

1 file changed

+49
-2
lines changed

1 file changed

+49
-2
lines changed

codemagic.yaml

Lines changed: 49 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ definitions:
55
- push
66
- pull_request
77
workflows:
8-
musadorakit:
9-
name: MusadoraKit Workflow
8+
musadorakit-xcode-26-0:
9+
name: MusadoraKit Workflow (Xcode 26.0)
1010
environment:
1111
xcode: 26.0
1212
vars:
@@ -51,3 +51,50 @@ workflows:
5151
-skipPackagePluginValidation | xcpretty --report junit
5252
done
5353
test_report: build/reports/junit.xml
54+
55+
musadorakit-xcode-26-1:
56+
name: MusadoraKit Workflow (Xcode 26.1)
57+
environment:
58+
xcode: 26.1
59+
vars:
60+
XCODE_SCHEME: "MusadoraKit"
61+
APP_ID: "Musadora"
62+
when:
63+
changeset:
64+
includes:
65+
- 'Sources'
66+
- 'Tests'
67+
triggering:
68+
<<: *events
69+
scripts:
70+
- name: SwiftLint
71+
script: |
72+
#!/bin/zsh
73+
brew install swiftlint
74+
swiftlint lint --strict
75+
- name: Build Framework
76+
script: |
77+
#!/bin/zsh
78+
79+
declare -a DESTINATIONS=("platform=iOS Simulator,name=iPhone 17" "platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm)" "platform=tvOS Simulator,name=Apple TV 4K (3rd generation)" "platform=macOS" "platform=macOS,variant=Mac Catalyst" "platform=visionOS Simulator,name=Apple Vision Pro")
80+
for DESTINATION in "${DESTINATIONS[@]}"
81+
do
82+
xcodebuild clean build \
83+
-scheme "$XCODE_SCHEME" \
84+
-destination "$DESTINATION" \
85+
-skipPackagePluginValidation
86+
done
87+
- name: Test Framework
88+
script: |
89+
#!/bin/zsh
90+
91+
declare -a DESTINATIONS=("platform=iOS Simulator,name=iPhone 17" "platform=watchOS Simulator,name=Apple Watch Ultra 2 (49mm)" "platform=tvOS Simulator,name=Apple TV 4K (3rd generation)" "platform=macOS" "platform=macOS,variant=Mac Catalyst" "platform=visionOS Simulator,name=Apple Vision Pro")
92+
for DESTINATION in "${DESTINATIONS[@]}"
93+
do
94+
set -o pipefail
95+
xcodebuild clean test \
96+
-scheme "$XCODE_SCHEME" \
97+
-destination "$DESTINATION" \
98+
-skipPackagePluginValidation | xcpretty --report junit
99+
done
100+
test_report: build/reports/junit.xml

0 commit comments

Comments
 (0)