Skip to content

Commit 72638ff

Browse files
Upload Xcode derived data on failure in Darwin tests as an artifact.
If there are crashes in the test, the crash logs should be in there, and we can try to debug those.
1 parent bb24d97 commit 72638ff

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/darwin.yaml

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

0 commit comments

Comments
 (0)