@@ -11,44 +11,98 @@ jobs:
1111 uses : actions/checkout@v4
1212 - name : Install pod, build project and run tests
1313 run : |
14+ mkdir -p test-results
1415 ./scripts/getSimulator
1516 DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
1617 cd SDKIntegrationTestApps/PostRelease-iOSReleaseTest-Cocoapods/
1718 pod install
18- xcodebuild test -scheme iOSReleaseTest -workspace iOSReleaseTest.xcworkspace -destination "$DESTINATION"| xcpretty && exit ${PIPESTATUS[0]}
19+ xcodebuild -configuration Debug \
20+ -scheme iOSReleaseTest -workspace iOSReleaseTest.xcworkspace \
21+ -sdk iphonesimulator \
22+ -destination "$DESTINATION" \
23+ CODE_SIGNING_ALLOWED=NO \
24+ CODE_SIGNING_REQUIRED=NO \
25+ PROVISIONING_PROFILE_SPECIFIER="" \
26+ DEVELOPMENT_TEAM="" \
27+ -resultBundlePath ../../test-results/ios-cocoapods.xcresult \
28+ clean test
29+ - name : Upload test report
30+ uses : actions/upload-artifact@v4
31+ if : always()
32+ with :
33+ name : test-report-cocoapods-iOS
34+ path : test-results
1935 verify-carthage-iOS :
2036 runs-on : macos-latest
2137 steps :
2238 - name : Check out code
2339 uses : actions/checkout@v4
2440 - name : Run carthage command, build project and run tests
2541 run : |
42+ mkdir -p test-results
2643 ./scripts/getSimulator
2744 DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
2845 cd SDKIntegrationTestApps/PostRelease-iOSReleaseTest-Carthage/
2946 carthage update --use-xcframeworks
30- xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION"| xcpretty && exit ${PIPESTATUS[0]}
47+ xcodebuild -configuration Debug \
48+ -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj \
49+ -sdk iphonesimulator \
50+ -destination "$DESTINATION" \
51+ CODE_SIGNING_ALLOWED=NO \
52+ CODE_SIGNING_REQUIRED=NO \
53+ PROVISIONING_PROFILE_SPECIFIER="" \
54+ DEVELOPMENT_TEAM="" \
55+ -resultBundlePath ../../test-results/ios-carthage.xcresult \
56+ clean test
57+ - name : Upload test report
58+ uses : actions/upload-artifact@v4
59+ if : always()
60+ with :
61+ name : test-report-carthage-iOS
62+ path : test-results
3163 verify-SPM-iOS :
3264 runs-on : macos-latest
3365 steps :
3466 - name : Check out code
3567 uses : actions/checkout@v4
3668 - name : build project and run tests
3769 run : |
70+ mkdir -p test-results
3871 ./scripts/getSimulator
3972 DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
4073 cd SDKIntegrationTestApps/PostRelease-iOSReleaseTest-SPM/
41- xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION"| xcpretty && exit ${PIPESTATUS[0]}
74+ xcodebuild -configuration Debug \
75+ -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj \
76+ -sdk iphonesimulator \
77+ -destination "$DESTINATION" \
78+ CODE_SIGNING_ALLOWED=NO \
79+ CODE_SIGNING_REQUIRED=NO \
80+ PROVISIONING_PROFILE_SPECIFIER="" \
81+ DEVELOPMENT_TEAM="" \
82+ -resultBundlePath ../../test-results/ios-spm.xcresult \
83+ clean test
84+ - name : Upload test report
85+ uses : actions/upload-artifact@v4
86+ if : always()
87+ with :
88+ name : test-report-spm-iOS
89+ path : test-results
4290 verify-cocoapods-tvOS :
4391 runs-on : macos-latest
4492 steps :
4593 - name : Check out code
4694 uses : actions/checkout@v4
4795 - name : Install pod, build project and run tests
4896 run : |
97+ mkdir -p test-results
4998 ./scripts/getSimulator
5099 DESTINATION="platform=tvOS Simulator,name=$(cat ./appleTVSim),OS=latest"
51100 cd SDKIntegrationTestApps/PostRelease-tvOSReleaseTest-Cocoapods/
52101 pod install
53- xcodebuild test -scheme tvOSReleaseTest -workspace tvOSReleaseTest.xcworkspace -destination "$DESTINATION" | xcpretty && exit ${PIPESTATUS[0]}
54-
102+ xcodebuild test -scheme tvOSReleaseTest -workspace tvOSReleaseTest.xcworkspace -destination "$DESTINATION" -resultBundlePath ../../test-results/tvOS-cocoapods.xcresult
103+ - name : Upload test report
104+ uses : actions/upload-artifact@v4
105+ if : always()
106+ with :
107+ name : test-report-cocoapods-tvOS
108+ path : test-results
0 commit comments