Skip to content

Commit 06800a4

Browse files
committed
test(tvos): inspect native reattach renderer output [skip ci]
1 parent 4819213 commit 06800a4

1 file changed

Lines changed: 31 additions & 0 deletions

File tree

‎.github/workflows/tvos.yml‎

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: tvOS source build
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
native-artifact-run:
7+
description: Temporary native renderer investigation artifact run
8+
required: false
9+
default: ''
510
push:
611
branches: [feature/tvos]
712

@@ -15,6 +20,7 @@ concurrency:
1520
jobs:
1621
simulator:
1722
name: Qt mpv tvOS ${{ matrix.sdk }} build and smoke
23+
if: ${{ inputs.native-artifact-run == '' }}
1824
runs-on: macos-15
1925
timeout-minutes: 180
2026
strategy:
@@ -55,3 +61,28 @@ jobs:
5561
build/tvos/${{ matrix.sdk }}-arm64/install/smoke/spool-tvos-playback-smoke.app
5662
build/tvos/smoke/*.png
5763
build/tvos/smoke/result.json
64+
65+
diagnose:
66+
if: ${{ inputs.native-artifact-run != '' }}
67+
runs-on: macos-15
68+
permissions:
69+
contents: read
70+
actions: read
71+
steps:
72+
- uses: actions/checkout@d23441a48e516b6c34aea4fa41551a30e30af803
73+
with:
74+
persist-credentials: false
75+
- name: Download existing native renderer failure
76+
env:
77+
GH_TOKEN: ${{ github.token }}
78+
ARTIFACT_RUN: ${{ inputs.native-artifact-run }}
79+
run: gh run download "$ARTIFACT_RUN" --name internal-tvos-appletvsimulator-arm64 --dir build/tvos
80+
- name: Launch isolated Apple TV simulator smoke
81+
env:
82+
SIMCTL_CHILD_SPOOL_TEST_MPV_LOG: '1'
83+
run: bash tools/apple/smoke-tvos.sh build/tvos/appletvsimulator-arm64/install/Spool.app
84+
- uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a
85+
if: always()
86+
with:
87+
name: native-failure-pixels
88+
path: build/tvos/smoke

0 commit comments

Comments
 (0)