Skip to content

Commit 1a6bd3b

Browse files
Upload .ips bits in Xcode derived data on failure in Darwin tests as an artifact. (project-chip#31964)
If there are crashes in the test, the crash logs should be in there, and we can try to debug those.
1 parent 0ba1b7c commit 1a6bd3b

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/darwin.yaml

+7
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,13 @@ jobs:
123123
run: |
124124
xcodebuild -target "MatterTvCastingBridge" -sdk iphoneos
125125
working-directory: examples/tv-casting-app/darwin/MatterTvCastingBridge
126+
- name: Uploading .ips files in Xcode derived data to debug the failure
127+
uses: actions/upload-artifact@v4
128+
if: ${{ failure() && !env.ACT }}
129+
with:
130+
name: darwin-framework-derived-data
131+
path: ~/Library/Developer/Xcode/DerivedData/**/*.ips
132+
retention-days: 5
126133
- name: Uploading log files
127134
uses: actions/upload-artifact@v4
128135
if: ${{ failure() && !env.ACT }}

0 commit comments

Comments
 (0)