Skip to content

Commit

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

0 comments on commit 72638ff

Please sign in to comment.