-
Notifications
You must be signed in to change notification settings - Fork 80
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes issues with the build script in detecting dump files to upload …
…and analyze dorny/paths-filter only works on detecting changes to git files not untracked files Add Blame to test runner and upload of sequence file
- Loading branch information
1 parent
10adbf7
commit 67e6100
Showing
1 changed file
with
9 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -159,7 +159,7 @@ jobs: | |
|
||
- name: Run experiment tests against ${{ env.TEST_PLATFORM }} | ||
id: test-platform | ||
run: vstest.console.exe ./tooling/**/CommunityToolkit.Tests.${{ env.TEST_PLATFORM }}.build.appxrecipe /Framework:FrameworkUap10 /logger:"trx;LogFileName=${{ env.TEST_PLATFORM }}.trx" | ||
run: vstest.console.exe ./tooling/**/CommunityToolkit.Tests.${{ env.TEST_PLATFORM }}.build.appxrecipe /Framework:FrameworkUap10 /logger:"trx;LogFileName=${{ env.TEST_PLATFORM }}.trx" /Blame | ||
|
||
- name: Create test reports | ||
run: | | ||
|
@@ -182,26 +182,24 @@ jobs: | |
|
||
# https://github.com/dorny/paths-filter#custom-processing-of-changed-files | ||
- name: Detect If any Dump Files | ||
uses: dorny/[email protected] | ||
id: filter | ||
with: | ||
list-files: shell | ||
filters: | | ||
dump: | ||
- added: '${{ github.workspace }}/CrashDumps/*.dmp' | ||
id: detect-dump | ||
if: always() | ||
working-directory: ${{ github.workspace }} | ||
run: | | ||
echo "DUMP_FILE=$(Get-ChildItem .\CrashDumps\*.dmp -ErrorAction SilentlyContinue)" >> $env:GITHUB_OUTPUT | ||
- name: Artifact - WER crash dumps | ||
uses: actions/upload-artifact@v3 | ||
if: ${{ steps.filter.outputs.dump == 'true' && (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }} | ||
if: ${{ (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }} | ||
with: | ||
name: CrashDumps-${{ matrix.platform }} | ||
path: '${{ github.workspace }}/CrashDumps' | ||
|
||
- name: Analyze Dump | ||
if: ${{ steps.filter.outputs.dump == 'true' && (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }} | ||
if: ${{ steps.detect-dump.outputs.DUMP_FILE != '' && (env.ENABLE_DIAGNOSTICS == 'true' || env.COREHOST_TRACE != '') && always() }} | ||
run: | | ||
dotnet tool install --global dotnet-dump | ||
dotnet-dump analyze ${{ steps.filter.outputs.dump_files }} -c "clrstack" -c "pe -lines" -c "exit" | ||
dotnet-dump analyze ${{ steps.detect-dump.outputs.DUMP_FILE }} -c "clrstack" -c "pe -lines" -c "exit" | ||
wasm-linux: | ||
runs-on: ubuntu-latest | ||
|