Skip to content

Commit

Permalink
Upload .ips bits in Xcode derived data on failure in Darwin tests as …
Browse files Browse the repository at this point in the history
…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.
  • Loading branch information
bzbarsky-apple authored Feb 7, 2024
1 parent 0ba1b7c commit 1a6bd3b
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,13 @@ jobs:
run: |
xcodebuild -target "MatterTvCastingBridge" -sdk iphoneos
working-directory: examples/tv-casting-app/darwin/MatterTvCastingBridge
- name: Uploading .ips files in Xcode derived data to debug the failure
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
with:
name: darwin-framework-derived-data
path: ~/Library/Developer/Xcode/DerivedData/**/*.ips
retention-days: 5
- name: Uploading log files
uses: actions/upload-artifact@v4
if: ${{ failure() && !env.ACT }}
Expand Down

0 comments on commit 1a6bd3b

Please sign in to comment.