another attempt at fixing CI native builds
This commit is contained in:
parent
8c0b4461dc
commit
d36598a316
2 changed files with 3 additions and 4 deletions
5
.github/workflows/native-build.yml
vendored
5
.github/workflows/native-build.yml
vendored
|
|
@ -14,12 +14,9 @@ on:
|
|||
tags:
|
||||
- "v*"
|
||||
|
||||
env:
|
||||
REGISTRY: ${{ vars.REGISTRY != '' && vars.REGISTRY || '' }}
|
||||
|
||||
jobs:
|
||||
build:
|
||||
if: ${{ env.REGISTRY == '' }}
|
||||
if: ${{ vars.REGISTRY == '' }}
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
|
|
|
|||
|
|
@ -277,7 +277,9 @@ async def test_stream_gpu_fallback_switches_codec(
|
|||
|
||||
monkeypatch.setattr("app.library.Segments.ffprobe", fake_ffprobe)
|
||||
# Only QSV advertised so initial build sets QSV
|
||||
# Patch both where it's defined AND where it's imported/used
|
||||
monkeypatch.setattr("app.library.SegmentEncoders.has_dri_devices", lambda: True)
|
||||
monkeypatch.setattr("app.library.Segments.has_dri_devices", lambda: True)
|
||||
monkeypatch.setattr("app.library.SegmentEncoders.ffmpeg_encoders", lambda: {"h264_qsv"})
|
||||
|
||||
# Fail first, succeed second
|
||||
|
|
|
|||
Loading…
Reference in a new issue