@@ -11,13 +11,14 @@ jobs:
1111 uses : actions/checkout@v4
1212 - name : Install pod, build project and run tests
1313 run : |
14+ mkdir -p test-results
1415 echo "branch=${{ github.ref }}" >> $GITHUB_OUTPUT
1516 ./scripts/getSimulator
1617 DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
1718 cd SDKIntegrationTestApps/iOSReleaseTest-Cocoapods/
1819 pod install
1920 xcodebuild test -scheme iOSReleaseTest -workspace iOSReleaseTest.xcworkspace
20- -destination "$DESTINATION"
21+ -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-cocoapods.xcresult
2122 verify-carthage-iOS :
2223 runs-on : macos-latest
2324 timeout-minutes : 20
@@ -28,13 +29,14 @@ jobs:
2829 env :
2930 BRANCH_NAME : ${{ github.head_ref || github.ref_name }}
3031 run : |
32+ mkdir -p test-results
3133 CURR_DIR=$(PWD)
3234 ./scripts/getSimulator
3335 DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
3436 cd SDKIntegrationTestApps/iOSReleaseTest-Carthage/
3537 echo "git \"file://${CURR_DIR}\" \"$BRANCH_NAME\" " >> cartfile
3638 carthage update --use-xcframeworks
37- xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION"
39+ xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-carthage.xcresult
3840 verify-SPM-iOS :
3941 runs-on : macos-latest
4042 timeout-minutes : 20
@@ -43,10 +45,11 @@ jobs:
4345 uses : actions/checkout@v4
4446 - name : build project and run tests
4547 run : |
48+ mkdir -p test-results
4649 ./scripts/getSimulator
4750 DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
4851 cd SDKIntegrationTestApps/iOSReleaseTest-SPM/
49- xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION"
52+ xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-spm.xcresult
5053 verify-manually-with-xcframework-iOS :
5154 runs-on : macos-latest
5255 timeout-minutes : 20
@@ -55,11 +58,12 @@ jobs:
5558 uses : actions/checkout@v4
5659 - name : build xcframework, then build project and run tests
5760 run : |
61+ mkdir -p test-results
5862 ./scripts/getSimulator
5963 DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
6064 xcodebuild -scheme xcframework
6165 cd SDKIntegrationTestApps/iOSReleaseTest-Manual/
62- xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION"
66+ xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-xcframework.xcresult
6367 verify-manually-with-StaticFramework-iOS :
6468 runs-on : macos-latest
6569 timeout-minutes : 20
@@ -68,11 +72,12 @@ jobs:
6872 uses : actions/checkout@v4
6973 - name : build static xcframework, then build project and run tests
7074 run : |
75+ mkdir -p test-results
7176 ./scripts/getSimulator
7277 DESTINATION="platform=iOS Simulator,name=$(cat ./iphoneSim),OS=latest"
7378 xcodebuild -scheme static-xcframework
7479 cd SDKIntegrationTestApps/iOSReleaseTest-Manual-Static/
75- xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION"
80+ xcodebuild test -scheme iOSReleaseTest -project iOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/ios-static-framework.xcresult
7681 verify-cocoapods-tvOS :
7782 runs-on : macos-latest
7883 timeout-minutes : 20
@@ -81,11 +86,12 @@ jobs:
8186 uses : actions/checkout@v4
8287 - name : Install pod, build project and run tests
8388 run : |
89+ mkdir -p test-results
8490 ./scripts/getSimulator
8591 DESTINATION="platform=tvOS Simulator,name=$(cat ./appleTVSim),OS=latest"
8692 cd SDKIntegrationTestApps/tvOSReleaseTest-Cocoapods/
8793 pod install
88- xcodebuild test -scheme tvOSReleaseTest -workspace tvOSReleaseTest.xcworkspace -destination "$DESTINATION"
94+ xcodebuild test -scheme tvOSReleaseTest -workspace tvOSReleaseTest.xcworkspace -destination "$DESTINATION" -resultBundlePath ../../test-results/tvOS-cocoapods.xcresult
8995 verify-carthage-tvOS :
9096 runs-on : macos-latest
9197 timeout-minutes : 20
94100 uses : actions/checkout@v4
95101 - name : Verify Integration using Carthage for tvOS
96102 run : |
103+ mkdir -p test-results
97104 ./scripts/getSimulator
98105 DESTINATION="platform=tvOS Simulator,name=$(cat ./appleTVSim),OS=latest"
99106 cd SDKIntegrationTestApps/tvOSReleaseTest-Carthage/
@@ -106,8 +113,9 @@ jobs:
106113 uses : actions/checkout@v4
107114 - name : build xcframework, then build project and run tests
108115 run : |
116+ mkdir -p test-results
109117 ./scripts/getSimulator
110118 DESTINATION="platform=tvOS Simulator,name=$(cat ./appleTVSim),OS=latest"
111119 xcodebuild -scheme xcframework
112120 cd SDKIntegrationTestApps/tvOSReleaseTest-Manual/
113- xcodebuild test -scheme tvOSReleaseTest -project tvOSReleaseTest.xcodeproj -destination "$DESTINATION"
121+ xcodebuild test -scheme tvOSReleaseTest -project tvOSReleaseTest.xcodeproj -destination "$DESTINATION" -resultBundlePath ../../test-results/tvOS-xcframework.xcresult
0 commit comments