[CI] upload self-contained retrace summary

This commit is contained in:
2026-06-27 20:05:37 +08:00
parent 59c9b94d76
commit 8fd25acbb6
3 changed files with 83 additions and 118 deletions
+2 -17
View File
@@ -537,11 +537,6 @@ jobs:
pattern: MobileGL-android-retrace-result-*
path: retrace-artifacts
- name: Install PDF renderer
run: |
npm install --no-save --no-package-lock playwright
npx playwright install --with-deps chromium
- name: Render retrace summary
run: |
node tools/trace_replay/render_retrace_summary.mjs \
@@ -549,21 +544,11 @@ jobs:
--output-dir android-retrace-summary \
--title "MobileGL Android retrace overview" \
--group-label "Android Emulator" \
--html mobilegl-android-retrace-overview.html \
--pdf mobilegl-android-retrace-overview.pdf
--html mobilegl-android-retrace-overview.html
- name: Upload Android retrace summary
uses: actions/upload-artifact@v4
with:
name: MobileGL-android-retrace-summary-${{ env.date_today }}-${{ env.short_sha }}
path: |
android-retrace-summary/**
!android-retrace-summary/mobilegl-android-retrace-overview.pdf
if-no-files-found: error
- name: Upload Android retrace summary PDF
uses: actions/upload-artifact@v7
with:
path: android-retrace-summary/mobilegl-android-retrace-overview.pdf
path: android-retrace-summary/mobilegl-android-retrace-overview.html
archive: false
if-no-files-found: error
+2 -17
View File
@@ -448,11 +448,6 @@ jobs:
pattern: retrace-result-*
path: retrace-artifacts
- name: Install PDF renderer
run: |
npm install --no-save --no-package-lock playwright
npx playwright install --with-deps chromium
- name: Render retrace summary
run: |
node tools/trace_replay/render_retrace_summary.mjs \
@@ -460,22 +455,12 @@ jobs:
--output-dir retrace-summary \
--title "MobileGL Linux retrace overview" \
--group-label "Linux" \
--html mobilegl-linux-retrace-overview.html \
--pdf mobilegl-linux-retrace-overview.pdf
--html mobilegl-linux-retrace-overview.html
- name: Upload retrace summary
uses: actions/upload-artifact@v4
with:
name: retrace-summary-${{ env.date_today }}-${{ env.short_sha }}
path: |
retrace-summary/**
!retrace-summary/mobilegl-linux-retrace-overview.pdf
if-no-files-found: error
- name: Upload retrace summary PDF
uses: actions/upload-artifact@v7
with:
path: retrace-summary/mobilegl-linux-retrace-overview.pdf
path: retrace-summary/mobilegl-linux-retrace-overview.html
archive: false
if-no-files-found: error